Commit Graph

6 Commits (b0412b5e9f7ab0c3e2d738125f58077eb915d765)

Author SHA1 Message Date
Adrien Vergé 1a961bd4b0 chore(tests): Also run tests on Python 2.6
Adrien Vergé cdd094220c parser: Add tests for `Comment.is_inline()`
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'`.
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.
Adrien Vergé bf96bdde01 Tests: Remove assertIsInstance to support Python 2.6
Adrien Vergé 350213b165 Initial commit