Skip to content

Commit

Permalink
pythongh-122096: Remove accidentally left debugging prints (python#12…
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclips4 authored Jul 21, 2024
1 parent a3f7db9 commit 5901d92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/test/test_pathlib/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 5901d92

Please sign in to comment.