]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-122096: Remove accidentally left debugging prints (#122097)
authorKirill Podoprigora <kirill.bast9@mail.ru>
Sun, 21 Jul 2024 19:48:39 +0000 (22:48 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Jul 2024 19:48:39 +0000 (20:48 +0100)
Lib/test/test_pathlib/test_pathlib.py

index 5293b5c84cda14b8b40d4c8988ef9a5110c7991c..7160e764dfb2fafbab92746343e41b4ce3f8c667 100644 (file)
@@ -904,7 +904,6 @@ class PathTest(test_pathlib_abc.DummyPathTest, PurePathTest):
             errors = []
             tmp.rmtree(on_error=errors.append)
             # Test whether onerror has actually been called.
-            print(errors)
             self.assertEqual(len(errors), 3)
         finally:
             tmp.chmod(old_dir_mode)
@@ -1006,7 +1005,6 @@ class PathTest(test_pathlib_abc.DummyPathTest, PurePathTest):
 
         with swap_attr(os, 'close', close) as orig_close:
             dir1.rmtree(on_error=errors.append)
-        print(errors)
         self.assertEqual(len(errors), 2)
         self.assertEqual(errors[0].filename, str(dir2))
         self.assertEqual(errors[1].filename, str(dir1))