We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a63de2 commit 6789cd9Copy full SHA for 6789cd9
Lib/test/test_embed.py
@@ -1705,11 +1705,7 @@ def test_no_memleak(self):
1705
blocks = int(match.group(2))
1706
with self.subTest(frozen_modules=flag, stmt=stmt):
1707
self.assertEqual(refs, 0, out)
1708
- if not MS_WINDOWS:
1709
- self.assertEqual(blocks, 0, out)
1710
- else:
1711
- # bpo-42658: on Windows, Python still leaks 1 memory block at exit
1712
- self.assertEqual(blocks, 1, out)
+ self.assertEqual(blocks, 0, out)
1713
1714
1715
class StdPrinterTests(EmbeddingTestsMixin, unittest.TestCase):
0 commit comments