[Python-checkins] python/dist/src/Lib/test test_mimetypes.py,1.6,1.7

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Fri, 18 Jul 2003 08:13:39 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv28585/test

Modified Files:
	test_mimetypes.py 
Log Message:
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.


Index: test_mimetypes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_mimetypes.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_mimetypes.py	9 Jun 2003 22:27:41 -0000	1.6
--- test_mimetypes.py	18 Jul 2003 15:13:37 -0000	1.7
***************
*** 7,10 ****
--- 7,11 ----
  # Tell it we don't know about external files:
  mimetypes.knownfiles = []
+ mimetypes.inited = False