Minor testfix
authorAnders Henja <anders@baltrad.eu>
Mon, 3 Feb 2020 13:35:49 +0000 (14:35 +0100)
committerAnders Henja <anders@baltrad.eu>
Mon, 3 Feb 2020 13:35:49 +0000 (14:35 +0100)
test/lib/xmlrunner.py

index a4fed9f..d7d1a77 100644 (file)
@@ -310,7 +310,7 @@ class XMLTestRunnerTest(unittest.TestCase):
         """
         class TestTest(unittest.TestCase):
             def test_foo(self):
-                print "Test"
+                print("Test")
         self._try_test_run(TestTest, """<testsuite errors="0" failures="0" name="unittest.TestSuite" tests="1" time="0.000">
   <testcase classname="__main__.TestTest" name="test_foo" time="0.000"></testcase>
   <system-out><![CDATA[Test