fix python3 issues, add py32 environment
--HG-- branch : trunk
This commit is contained in:
parent
81ec29a597
commit
e2c11f1ddb
|
@ -348,7 +348,7 @@ def test_deindent():
|
|||
lines = deindent(source.splitlines())
|
||||
assert lines == ['', 'def f():', ' def g():', ' pass', ' ']
|
||||
|
||||
@py.test.mark.xfail("sys.version_info[:2] != (2,7)")
|
||||
@py.test.mark.xfail("sys.version_info[:2] != (2,7) and 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
|
||||
# does not return the "x = 1" last line.
|
||||
|
|
|
@ -112,7 +112,6 @@ class TestTerminal:
|
|||
child.sendeof()
|
||||
child.kill(15)
|
||||
|
||||
@py.test.mark.xfail(reason="re-implement subclassing precision reporting")
|
||||
def test_itemreport_subclasses_show_subclassed_file(self, testdir):
|
||||
p1 = testdir.makepyfile(test_p1="""
|
||||
class BaseTests:
|
||||
|
|
Loading…
Reference in New Issue