[pypy-svn] r10840 - pypy/dist/lib-python-2.3.4/test

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Apr 19 01:43:25 CEST 2005


Author: cfbolz
Date: Tue Apr 19 01:43:25 2005
New Revision: 10840

Modified:
   pypy/dist/lib-python-2.3.4/test/conftest.py
Log:
Added working unittests to conftest.py


Modified: pypy/dist/lib-python-2.3.4/test/conftest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/conftest.py	(original)
+++ pypy/dist/lib-python-2.3.4/test/conftest.py	Tue Apr 19 01:43:25 2005
@@ -260,7 +260,7 @@
 
 testmap = {
     'test_MimeWriter.py'     : (False, OutputTestModule),
-    'test_StringIO.py'       : (False, UTModuleMainTest),
+    'test_StringIO.py'       : (True, UTModuleMainTest),
     'test___all__.py'        : (False, UTModuleMainTest),
     'test___future__.py'     : (False, UnknownTestModule),
     'test_aepack.py'         : (False, UTModuleMainTest),
@@ -284,13 +284,13 @@
     'test_bufio.py'          : (False, UnknownTestModule),
     'test_builtin.py'        : (True,  UTModuleMainTest),
     'test_bz2.py'            : (False, UTModuleMainTest),
-    'test_calendar.py'       : (False, UTModuleMainTest),
+    'test_calendar.py'       : (True, UTModuleMainTest),
     'test_call.py'           : (True,  UTModuleMainTest),
     'test_capi.py'           : (False, UnknownTestModule),
     'test_cd.py'             : (False, UnknownTestModule),
     'test_cfgparser.py'      : (False, UTModuleMainTest),
     'test_cgi.py'            : (False, OutputTestModule),
-    'test_charmapcodec.py'   : (False, UTModuleMainTest),
+    'test_charmapcodec.py'   : (True, UTModuleMainTest),
     'test_cl.py'             : (False, UnknownTestModule),
     'test_class.py'          : (False, OutputTestModule),
     'test_cmath.py'          : (True,  UnknownTestModule),
@@ -304,8 +304,8 @@
     'test_complex.py'        : (False, UTModuleMainTest),
     'test_contains.py'       : (False, UnknownTestModule),
     'test_cookie.py'         : (False, OutputTestModule),
-    'test_copy.py'           : (False, UTModuleMainTest),
-    'test_copy_reg.py'       : (False, UTModuleMainTest),
+    'test_copy.py'           : (True, UTModuleMainTest),
+    'test_copy_reg.py'       : (True, UTModuleMainTest),
     'test_cpickle.py'        : (False, UTModuleMainTest),
     'test_crypt.py'          : (False, UnknownTestModule),
     'test_csv.py'            : (False, UTModuleMainTest),
@@ -315,14 +315,14 @@
     'test_descr.py'          : (False, UTModuleMainTest),
     'test_descrtut.py'       : (False, UTModuleMainTest),
     'test_difflib.py'        : (False, UnknownTestModule),
-    'test_dircache.py'       : (False, UTModuleMainTest),
+    'test_dircache.py'       : (True, UTModuleMainTest),
     'test_dis.py'            : (True,  UTModuleMainTest),
     'test_dl.py'             : (False, UnknownTestModule),
     'test_doctest.py'        : (False, UnknownTestModule),
-    'test_doctest2.py'       : (False, UTModuleMainTest),
+    'test_doctest2.py'       : (True, UTModuleMainTest),
     'test_dumbdbm.py'        : (False, UTModuleMainTest),
-    'test_dummy_thread.py'   : (False, UTModuleMainTest),
-    'test_dummy_threading.py': (False, UTModuleMainTest),
+    'test_dummy_thread.py'   : (True, UTModuleMainTest),
+    'test_dummy_threading.py': (False, UnknownTestModule),
     'test_email.py'          : (False, UTModuleMainTest),
     'test_email_codecs.py'   : (False, UnknownTestModule),
     'test_enumerate.py'      : (False, UTModuleMainTest),
@@ -334,16 +334,16 @@
     'test_file.py'           : (False, UnknownTestModule),
     'test_filecmp.py'        : (False, UTModuleMainTest),
     'test_fileinput.py'      : (False, UnknownTestModule),
-    'test_fnmatch.py'        : (False, UTModuleMainTest),
+    'test_fnmatch.py'        : (True, UTModuleMainTest),
     'test_fork1.py'          : (False, UnknownTestModule),
     'test_format.py'         : (False, UnknownTestModule),
-    'test_fpformat.py'       : (False, UTModuleMainTest),
+    'test_fpformat.py'       : (True, UTModuleMainTest),
     'test_frozen.py'         : (False, OutputTestModule),
     'test_funcattrs.py'      : (False, UnknownTestModule),
     'test_future.py'         : (False, OutputTestModule),
     'test_future1.py'        : (False, UnknownTestModule),
     'test_future2.py'        : (False, UnknownTestModule),
-    'test_future3.py'        : (False, UTModuleMainTest),
+    'test_future3.py'        : (True, UTModuleMainTest),
     'test_gc.py'             : (False, UnknownTestModule),
     'test_gdbm.py'           : (False, UnknownTestModule),
     'test_generators.py'     : (False, UTModuleMainTest),
@@ -352,7 +352,7 @@
     'test_getopt.py'         : (False, UnknownTestModule),
     'test_gettext.py'        : (False, UTModuleMainTest),
     'test_gl.py'             : (False, UnknownTestModule),
-    'test_glob.py'           : (False, UTModuleMainTest),
+    'test_glob.py'           : (True, UTModuleMainTest),
     'test_global.py'         : (False, OutputTestModule),
     'test_grammar.py'        : (False, OutputTestModule),
     'test_grp.py'            : (False, UTModuleMainTest),
@@ -360,7 +360,7 @@
     'test_hash.py'           : (True,  UTModuleMainTest),
     'test_heapq.py'          : (True,  UTModuleMainTest),
     'test_hexoct.py'         : (True,  UTModuleMainTest),
-    'test_hmac.py'           : (False, UTModuleMainTest),
+    'test_hmac.py'           : (True, UTModuleMainTest),
     'test_hotshot.py'        : (False, UTModuleMainTest),
     'test_htmllib.py'        : (True,  UTModuleMainTest),
     'test_htmlparser.py'     : (True,  UTModuleMainTest),
@@ -386,20 +386,20 @@
     'test_macfs.py'          : (False, UTModuleMainTest),
     'test_macostools.py'     : (False, UTModuleMainTest),
     'test_macpath.py'        : (False, UTModuleMainTest),
-    'test_mailbox.py'        : (False, UTModuleMainTest),
+    'test_mailbox.py'        : (True, UTModuleMainTest),
     'test_marshal.py'        : (False, UnknownTestModule),
     'test_math.py'           : (False, OutputTestModule),
     'test_md5.py'            : (False, OutputTestModule),
-    'test_mhlib.py'          : (False, UTModuleMainTest),
-    'test_mimetools.py'      : (False, UTModuleMainTest),
-    'test_mimetypes.py'      : (False, UTModuleMainTest),
+    'test_mhlib.py'          : (True, UTModuleMainTest),
+    'test_mimetools.py'      : (True, UTModuleMainTest),
+    'test_mimetypes.py'      : (True, UTModuleMainTest),
     'test_minidom.py'        : (False, UnknownTestModule),
     'test_mmap.py'           : (False, OutputTestModule),
     'test_module.py'         : (False, UnknownTestModule),
     'test_mpz.py'            : (False, UnknownTestModule),
-    'test_multifile.py'      : (False, UTModuleMainTest),
+    'test_multifile.py'      : (True, UTModuleMainTest),
     'test_mutants.py'        : (False, UnknownTestModule),
-    'test_netrc.py'          : (False, UTModuleMainTest),
+    'test_netrc.py'          : (True, UTModuleMainTest),
     'test_new.py'            : (False, OutputTestModule),
     'test_nis.py'            : (False, OutputTestModule),
     'test_normalization.py'  : (False, UTModuleMainTest),
@@ -409,7 +409,7 @@
     'test_operations.py'     : (False, OutputTestModule),
     'test_operator.py'       : (True,  UTModuleMainTest),
     'test_optparse.py'       : (False, UTModuleMainTest),
-    'test_os.py'             : (False, UTModuleMainTest),
+    'test_os.py'             : (True, UTModuleMainTest),
     'test_ossaudiodev.py'    : (False, OutputTestModule),
     'test_parser.py'         : (True,  UTModuleMainTest),
     'test_pep247.py'         : (False, UnknownTestModule),
@@ -418,16 +418,16 @@
     'test_pickle.py'         : (False, UTModuleMainTest),
     'test_pickletools.py'    : (False, UnknownTestModule),
     'test_pkg.py'            : (False, OutputTestModule),
-    'test_pkgimport.py'      : (False, UTModuleMainTest),
+    'test_pkgimport.py'      : (True, UTModuleMainTest),
     'test_plistlib.py'       : (False, UTModuleMainTest),
     'test_poll.py'           : (False, OutputTestModule),
     'test_popen.py'          : (False, OutputTestModule),
     'test_popen2.py'         : (False, OutputTestModule),
-    'test_posix.py'          : (False, UTModuleMainTest),
-    'test_posixpath.py'      : (False, UTModuleMainTest),
-    'test_pow.py'            : (False, UTModuleMainTest),
+    'test_posix.py'          : (True, UTModuleMainTest),
+    'test_posixpath.py'      : (True, UTModuleMainTest),
+    'test_pow.py'            : (True, UTModuleMainTest),
     'test_pprint.py'         : (True,  UTModuleMainTest),
-    'test_profile.py'        : (False, UTModuleMainTest),
+    'test_profile.py'        : (True, UTModuleMainTest),
     'test_profilehooks.py'   : (True,  UTModuleMainTest),
     'test_pty.py'            : (False, OutputTestModule),
     'test_pwd.py'            : (False, UTModuleMainTest),
@@ -440,21 +440,21 @@
     'test_regex.py'          : (False, OutputTestModule),
     'test_repr.py'           : (False, UTModuleMainTest),
     'test_resource.py'       : (False, OutputTestModule),
-    'test_rfc822.py'         : (False, UTModuleMainTest),
+    'test_rfc822.py'         : (True, UTModuleMainTest),
     'test_rgbimg.py'         : (False, OutputTestModule),
     'test_richcmp.py'        : (False, UTModuleMainTest),
-    'test_robotparser.py'    : (False, UTModuleMainTest),
+    'test_robotparser.py'    : (True, UTModuleMainTest),
     'test_rotor.py'          : (False, OutputTestModule),
     'test_sax.py'            : (False, UnknownTestModule),
     'test_scope.py'          : (False, OutputTestModule),
     'test_scriptpackages.py' : (False, UTModuleMainTest),
     'test_select.py'         : (False, UnknownTestModule),
-    'test_sets.py'           : (False, UTModuleMainTest),
+    'test_sets.py'           : (True, UTModuleMainTest),
     'test_sgmllib.py'        : (True,  UTModuleMainTest),
     'test_sha.py'            : (False, UTModuleMainTest),
-    'test_shelve.py'         : (False, UTModuleMainTest),
-    'test_shlex.py'          : (False, UTModuleMainTest),
-    'test_shutil.py'         : (False, UTModuleMainTest),
+    'test_shelve.py'         : (True, UTModuleMainTest),
+    'test_shlex.py'          : (True, UTModuleMainTest),
+    'test_shutil.py'         : (True, UTModuleMainTest),
     'test_signal.py'         : (False, OutputTestModule),
     'test_slice.py'          : (False, UnknownTestModule),
     'test_socket.py'         : (False, UTModuleMainTest),
@@ -474,7 +474,7 @@
     'test_sundry.py'         : (False, UnknownTestModule),
     'test_support.py'        : (False, UnknownTestModule),
     'test_symtable.py'       : (False, UnknownTestModule),
-    'test_syntax.py'         : (False, UTModuleMainTest),
+    'test_syntax.py'         : (True, UTModuleMainTest),
     'test_sys.py'            : (True,  UTModuleMainTest),
     'test_tarfile.py'        : (False, UTModuleMainTest),
     'test_tempfile.py'       : (False, UTModuleMainTest),
@@ -483,7 +483,7 @@
     'test_threaded_import.py': (False, UTModuleMainTest),
     'test_threadedtempfile.py': (False, UTModuleMainTest),
     'test_threading.py'      : (False, UnknownTestModule),
-    'test_time.py'           : (False, UTModuleMainTest),
+    'test_time.py'           : (True, UTModuleMainTest),
     'test_timeout.py'        : (False, UTModuleMainTest),
     'test_timing.py'         : (False, UnknownTestModule),
     'test_tokenize.py'       : (False, OutputTestModule),
@@ -491,21 +491,21 @@
     'test_traceback.py'      : (False, UTModuleMainTest),
     'test_types.py'          : (False, OutputTestModule),
     'test_ucn.py'            : (False, UTModuleMainTest),
-    'test_unary.py'          : (False, UTModuleMainTest),
+    'test_unary.py'          : (True, UTModuleMainTest),
     'test_unicode.py'        : (False, UTModuleMainTest),
     'test_unicode_file.py'   : (False, OutputTestModule),
     'test_unicodedata.py'    : (False, UTModuleMainTest),
-    'test_univnewlines.py'   : (False, UTModuleMainTest),
+    'test_univnewlines.py'   : (True, UTModuleMainTest),
     'test_unpack.py'         : (False, UnknownTestModule),
-    'test_urllib.py'         : (False, UTModuleMainTest),
+    'test_urllib.py'         : (True, UTModuleMainTest),
     'test_urllib2.py'        : (False, UnknownTestModule),
     'test_urllibnet.py'      : (False, UTModuleMainTest),
     'test_urlparse.py'       : (True,  UTModuleMainTest),
-    'test_userdict.py'       : (False, UTModuleMainTest),
+    'test_userdict.py'       : (True, UTModuleMainTest),
     'test_userlist.py'       : (False, UTModuleMainTest),
     'test_userstring.py'     : (False, UTModuleMainTest),
     'test_uu.py'             : (False, UTModuleMainTest),
-    'test_warnings.py'       : (False, UTModuleMainTest),
+    'test_warnings.py'       : (True, UTModuleMainTest),
     'test_wave.py'           : (False, UnknownTestModule),
     'test_weakref.py'        : (False, UTModuleMainTest),
     'test_whichdb.py'        : (False, UTModuleMainTest),



More information about the Pypy-commit mailing list