Skip to content

Commit 6789cd9

Browse files
committed
Revert the test modify
1 parent 8a63de2 commit 6789cd9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/test/test_embed.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -1705,11 +1705,7 @@ def test_no_memleak(self):
17051705
blocks = int(match.group(2))
17061706
with self.subTest(frozen_modules=flag, stmt=stmt):
17071707
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)
1708+
self.assertEqual(blocks, 0, out)
17131709

17141710

17151711
class StdPrinterTests(EmbeddingTestsMixin, unittest.TestCase):

0 commit comments

Comments
 (0)