tests: test_pdb: fix print statements
This commit is contained in:
parent
27d2683a02
commit
d3d8d53e41
|
@ -525,7 +525,7 @@ class TestPDB(object):
|
||||||
"""
|
"""
|
||||||
def pytest_enter_pdb(config):
|
def pytest_enter_pdb(config):
|
||||||
assert config.testing_verification == 'configured'
|
assert config.testing_verification == 'configured'
|
||||||
print 'enter_pdb_hook'
|
print('enter_pdb_hook')
|
||||||
|
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
config.testing_verification = 'configured'
|
config.testing_verification = 'configured'
|
||||||
|
@ -562,7 +562,7 @@ class TestPDB(object):
|
||||||
custom_pdb="""
|
custom_pdb="""
|
||||||
class CustomPdb(object):
|
class CustomPdb(object):
|
||||||
def set_trace(*args, **kwargs):
|
def set_trace(*args, **kwargs):
|
||||||
print 'custom set_trace>'
|
print('custom set_trace>')
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
p1 = testdir.makepyfile(
|
p1 = testdir.makepyfile(
|
||||||
|
|
Loading…
Reference in New Issue