From d3d8d53e413d36eb12b387c404c65e6ce18805b1 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 13 Oct 2018 16:42:33 +0200 Subject: [PATCH] tests: test_pdb: fix print statements --- testing/test_pdb.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index 4739f0e2d..f04a2f3a0 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -345,7 +345,7 @@ class TestPDB(object): import pytest def test_1(): i = 0 - print ("hello17") + print("hello17") pytest.set_trace() x = 3 """ @@ -383,7 +383,7 @@ class TestPDB(object): """ import pytest def test_1(capsys): - print ("hello1") + print("hello1") pytest.set_trace() """ ) @@ -420,7 +420,7 @@ class TestPDB(object): def test_1(): pdb.set_trace() def test_2(): - print ("hello") + print("hello") assert 0 """ ) @@ -461,10 +461,10 @@ class TestPDB(object): import pytest def test_1(): i = 0 - print ("hello17") + print("hello17") pytest.set_trace() x = 3 - print ("hello18") + print("hello18") pytest.set_trace() x = 4 """ @@ -525,7 +525,7 @@ class TestPDB(object): """ def pytest_enter_pdb(config): assert config.testing_verification == 'configured' - print 'enter_pdb_hook' + print('enter_pdb_hook') def pytest_configure(config): config.testing_verification = 'configured' @@ -562,7 +562,7 @@ class TestPDB(object): custom_pdb=""" class CustomPdb(object): def set_trace(*args, **kwargs): - print 'custom set_trace>' + print('custom set_trace>') """ ) p1 = testdir.makepyfile(