Commit Graph

5 Commits (71b90ae208bfb72277212c22b3055876c0835c12)

Author SHA1 Message Date
Adrien Vergé cdd094220c parser: Add tests for `Comment.is_inline()` 9 years ago
Adrien Vergé 7a7d98c96a parser: Iterate over lines + tokens + comments
Instead of iterating over lines and tokens (and find comments between
tokens in the comment rules), add a new `Comment` type and set rules
with `type = 'comment'`.
9 years ago
Adrien Vergé 7b147cb411 Tests: Remove Python 2.6 from CI tests
Because:

1. It is old. VERY old.

2. Some useful methods (`assertRaisesRegexp`, `assertIsInstance`) are
   only available from Python 2.7.
9 years ago
Adrien Vergé bf96bdde01 Tests: Remove assertIsInstance to support Python 2.6 9 years ago
Adrien Vergé 350213b165 Initial commit 9 years ago