#2621 rename test.test_support to test.support
diff --git a/Lib/test/test_sgmllib.py b/Lib/test/test_sgmllib.py
index 374b921..6015878 100644
--- a/Lib/test/test_sgmllib.py
+++ b/Lib/test/test_sgmllib.py
@@ -2,7 +2,7 @@
import re
import sgmllib
import unittest
-from test import test_support
+from test import support
class EventCollector(sgmllib.SGMLParser):
@@ -365,7 +365,7 @@
# Just verify this code doesn't cause a hang.
CHUNK = 1024 # increasing this to 8212 makes the problem go away
- f = open(test_support.findfile('sgml_input.html'), encoding="latin-1")
+ f = open(support.findfile('sgml_input.html'), encoding="latin-1")
fp = sgmllib.SGMLParser()
while 1:
data = f.read(CHUNK)
@@ -431,7 +431,7 @@
def test_main():
- test_support.run_unittest(SGMLParserTestCase)
+ support.run_unittest(SGMLParserTestCase)
if __name__ == "__main__":