[Pytest-commit] commit/pytest-pep8: hpk42: fix tests to accomodate newer pep version which is more sensitive
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sun Apr 27 08:18:24 CEST 2014
1 new commit in pytest-pep8:
https://bitbucket.org/hpk42/pytest-pep8/commits/e2656c21b42a/
Changeset: e2656c21b42a
User: hpk42
Date: 2014-04-27 08:18:16
Summary: fix tests to accomodate newer pep version which is more sensitive
to detecting "E265 too many spaces"
add py34 to tox.ini
Affected #: 3 files
diff -r e9317b1b8eb91e0bd3e46b650d765fff616279d1 -r e2656c21b42a700f57723b646b621fc7e06a6e5a CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,11 @@
+xxx
+----------
+
+- fix tests to accomodate newer pep version which is more sensitive
+ to detecting "E265 too many spaces"
+
+- add py34 to tox.ini
+
1.0.6
--------------
diff -r e9317b1b8eb91e0bd3e46b650d765fff616279d1 -r e2656c21b42a700f57723b646b621fc7e06a6e5a test_pep8.py
--- a/test_pep8.py
+++ b/test_pep8.py
@@ -13,7 +13,7 @@
def pytest_funcarg__example(self, request):
testdir = request.getfuncargvalue("testdir")
p = testdir.makepyfile("")
- p.write("class AClass:\n pass\n \n\n#too many spaces")
+ p.write("class AClass:\n pass\n \n\n# too many spaces")
return p
def test_ignores(self, tmpdir):
@@ -45,7 +45,7 @@
def test_w293w292(self, testdir, example):
result = testdir.runpytest("--pep8", )
result.stdout.fnmatch_lines([
- #"*plugins*pep8*",
+ # "*plugins*pep8*",
"*W293*",
"*W292*",
])
@@ -55,7 +55,7 @@
testdir.tmpdir.ensure("hello.py")
result = testdir.runpytest("--pep8", )
result.stdout.fnmatch_lines([
- #"*plugins*pep8*",
+ # "*plugins*pep8*",
"*W293*",
"*W292*",
"*1 failed*1 passed*",
diff -r e9317b1b8eb91e0bd3e46b650d765fff616279d1 -r e2656c21b42a700f57723b646b621fc7e06a6e5a tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py25,py27,py27-pytesttrunk,py33,py-xdist
+envlist=py26,py27,py27-pytesttrunk,py33,py-xdist,py34
[testenv]
deps=pytest
Repository URL: https://bitbucket.org/hpk42/pytest-pep8/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list