https://github.com/python/cpython/commit/5901d92739c6e53668e3924eaff38e2e9eb95162
commit: 5901d92739c6e53668e3924eaff38e2e9eb95162
branch: main
author: Kirill Podoprigora <[email protected]>
committer: barneygale <[email protected]>
date: 2024-07-21T20:48:39+01:00
summary:

gh-122096: Remove accidentally left debugging prints (#122097)

files:
M Lib/test/test_pathlib/test_pathlib.py

diff --git a/Lib/test/test_pathlib/test_pathlib.py 
b/Lib/test/test_pathlib/test_pathlib.py
index 5293b5c84cda14..7160e764dfb2fa 100644
--- a/Lib/test/test_pathlib/test_pathlib.py
+++ b/Lib/test/test_pathlib/test_pathlib.py
@@ -904,7 +904,6 @@ def test_rmtree_unwritable(self):
             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 @@ def close(fd):
 
         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))

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to