From: Jeremy Hylton Date: Fri, 18 Jul 2003 15:13:37 +0000 (+0000) Subject: Make sure mimetypes is reinitialized before running the tests. X-Git-Tag: v2.3c1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=969a7003f908b167278dd5856e8af8799ccda8ee;p=python 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. --- diff --git a/Lib/test/test_mimetypes.py b/Lib/test/test_mimetypes.py index 81829c12c6..fed0bf581e 100644 --- a/Lib/test/test_mimetypes.py +++ b/Lib/test/test_mimetypes.py @@ -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):