Visitar URL original
bpo-42658: Using LCMapStringEx in ntpath.normcase by aisk · Pull Request #32010 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert the test modify
  • Loading branch information
aisk committed Jun 4, 2022
commit 6789cd9492d625cbc8f0bd6837284cb3dcea19ff
6 changes: 1 addition & 5 deletions Lib/test/test_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1705,11 +1705,7 @@ def test_no_memleak(self):
blocks = int(match.group(2))
with self.subTest(frozen_modules=flag, stmt=stmt):
self.assertEqual(refs, 0, out)
if not MS_WINDOWS:
self.assertEqual(blocks, 0, out)
else:
# bpo-42658: on Windows, Python still leaks 1 memory block at exit
self.assertEqual(blocks, 1, out)
self.assertEqual(blocks, 0, out)


class StdPrinterTests(EmbeddingTestsMixin, unittest.TestCase):
Expand Down