Commit 969a7003 authored by Jeremy Hylton's avatar Jeremy Hylton

Make sure mimetypes is reinitialized before running the tests.

If some other test comes along and uses mimetypes, it will be
initialized from the system files.
parent 096d986f
......@@ -6,6 +6,7 @@ from test import test_support
# Tell it we don't know about external files:
mimetypes.knownfiles = []
mimetypes.inited = False
class MimeTypesTestCase(unittest.TestCase):
......
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