[py-svn] pylib commit eaeb7575fbcf: not all python2.6.5 pass this test it seems
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sun Nov 21 19:13:40 CET 2010
# HG changeset patch -- Bitbucket.org
# Project pylib
# URL http://bitbucket.org/hpk42/pylib/overview
# User holger krekel <holger at merlinux.eu>
# Date 1290363208 -3600
# Node ID eaeb7575fbcf599a10741528a3f000a01125e58a
# Parent 1fe1c89988622791b4a9103eae97fdd45c21cb69
not all python2.6.5 pass this test it seems
--- a/testing/code/test_source.py
+++ b/testing/code/test_source.py
@@ -348,7 +348,7 @@ def test_deindent():
lines = deindent(source.splitlines())
assert lines == ['', 'def f():', ' def g():', ' pass', ' ']
- at py.test.mark.xfail("sys.version_info[:3] < (2,6,5) or "
+ at py.test.mark.xfail("sys.version_info[:3] < (2,7,0) or "
"((3,0) <= sys.version_info[:2] < (3,2))")
def test_source_of_class_at_eof_without_newline(tmpdir):
# this test fails because the implicit inspect.getsource(A) below
More information about the pytest-commit
mailing list