Skip to content

Commit da4d0b8

Browse files
Make comment clearer
1 parent 2d7af94 commit da4d0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ensurepip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def setUp(self):
6060
self.run_pip.return_value = 0
6161
self.addCleanup(run_pip_patch.stop)
6262

63-
# Ensure zlib is available for tests (unless specifically testing missing zlib)
63+
# Allow testing on zlib-less platforms by avoiding the check for zlib in _bootstrap()
6464
zlib_patch = unittest.mock.patch.dict('sys.modules', {'zlib': unittest.mock.MagicMock()})
6565
zlib_patch.start()
6666
self.addCleanup(zlib_patch.stop)

0 commit comments

Comments
 (0)