summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-07-18 15:13:37 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-07-18 15:13:37 (GMT)
commit969a7003f908b167278dd5856e8af8799ccda8ee (patch)
tree3995f03dc823bbdf737f695d77e2e573d6154de6 /Lib
parent096d986f3b2be9c1ea61efbf66cf85492bfcd6a8 (diff)
downloadcpython-969a7003f908b167278dd5856e8af8799ccda8ee.zip
cpython-969a7003f908b167278dd5856e8af8799ccda8ee.tar.gz
cpython-969a7003f908b167278dd5856e8af8799ccda8ee.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_mimetypes.py b/Lib/test/test_mimetypes.py
index 81829c1..fed0bf5 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):