Skip to content

Commit

Permalink
Ignore pep8 F821 fired by guarded Python3 tests executed in Python2
Browse files Browse the repository at this point in the history
First, I do not like the idea of masking Python3 capabilities (exceptions in this case)
just because we support Python2, too. Second, I want to test it properly, meaning separate
tests for Python2 and Python3 where the details differ.

Perhaps there is a cleaner way to test version-specific behavior and pass all pep8 tests,
but I do not know it.
  • Loading branch information
Jan Holeček committed May 14, 2015
1 parent fd64593 commit 204ecae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ deps =
sphinxcontrib-programoutput
commands =
nosetests -s --with-coverage --cover-package=ddt --cover-html
flake8 ddt.py test
flake8 --ignore=F821 ddt.py test
sphinx-build -b html docs docs/_build

0 comments on commit 204ecae

Please sign in to comment.