mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 05:26:53 +00:00
Separate failing tests so they run alone
This fixes the tests so they run on Windows with Python < 3.4. Possibly related to the issues fixed by PEP 446.
This commit is contained in:
parent
e8460dfe51
commit
ce58c92bf6
2 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,8 @@
|
|||
tests (nosetests --with-isolation doesn't help).
|
||||
|
||||
In tox.ini, these tests are run separately.
|
||||
|
||||
See https://gitlab.com/pycqa/flake8/issues/44 for an explanation.
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -7,9 +7,11 @@ envlist =
|
|||
usedevelop = True
|
||||
deps =
|
||||
mock
|
||||
nose
|
||||
commands =
|
||||
python setup.py test -q
|
||||
python setup.py flake8
|
||||
nosetests flake8.tests._test_warnings
|
||||
|
||||
[testenv:py27-flake8]
|
||||
basepython = python2.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue