Skip to content

Commit d4f5910

Browse files
committed
bpo-44116: Work around module unloading refleak to unblock buildbots
1 parent 5010c04 commit d4f5910

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎Lib/test/test_tools/test_sundry.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
import unittest
1111
from test.support import import_helper
1212

13+
# Work around bpo-44116: the csv and urllib.request modules leak
14+
# references when unloaded using modules_cleanup
15+
import csv
16+
import urllib.request
17+
1318
from test.test_tools import scriptsdir, import_tool, skip_if_missing
1419

1520
skip_if_missing()

0 commit comments

Comments
 (0)