Skip to content

Commit

Permalink
Revert the test modify
Browse files Browse the repository at this point in the history
  • Loading branch information
aisk committed Jun 4, 2022
1 parent 8a63de2 commit 6789cd9
Showing 1 changed file with 1 addition and 5 deletions.
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

0 comments on commit 6789cd9

Please sign in to comment.