Commit 8d238d4c authored by Brian Curtin's avatar Brian Curtin

merge with the tip

parents b644f3bd c1ed1c03
import test.support, unittest import test.support, unittest
from test.support import TESTFN, unlink, unload from test.support import TESTFN, unlink, unload
import os, sys import importlib, os, sys
class CodingTest(unittest.TestCase): class CodingTest(unittest.TestCase):
def test_bad_coding(self): def test_bad_coding(self):
...@@ -40,6 +39,7 @@ class CodingTest(unittest.TestCase): ...@@ -40,6 +39,7 @@ class CodingTest(unittest.TestCase):
f.write("'A very long string %s'\n" % ("X" * 1000)) f.write("'A very long string %s'\n" % ("X" * 1000))
f.close() f.close()
importlib.invalidate_caches()
__import__(TESTFN) __import__(TESTFN)
finally: finally:
f.close() f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment