Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-42658: Using LCMapStringEx in ntpath.normcase #32010

Merged
merged 17 commits into from
Jun 6, 2022
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