summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-07-21 19:48:39 (GMT)
committerGitHub <noreply@github.com>2024-07-21 19:48:39 (GMT)
commit5901d92739c6e53668e3924eaff38e2e9eb95162 (patch)
treeb4dda56ba830735f3e5ce1cb56fbf81ff9295bfc
parenta3f7db905c5aecda1d06fb60ed382a17e5b9c7aa (diff)
downloadcpython-5901d92739c6e53668e3924eaff38e2e9eb95162.zip
cpython-5901d92739c6e53668e3924eaff38e2e9eb95162.tar.gz
cpython-5901d92739c6e53668e3924eaff38e2e9eb95162.tar.bz2
gh-122096: Remove accidentally left debugging prints (#122097)
-rw-r--r--Lib/test/test_pathlib/test_pathlib.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_pathlib/test_pathlib.py b/Lib/test/test_pathlib/test_pathlib.py
index 5293b5c..7160e76 100644
--- a/Lib/test/test_pathlib/test_pathlib.py
+++ b/Lib/test/test_pathlib/test_pathlib.py
@@ -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))