[Python-checkins] python/dist/src/Lib/email/test test_email.py,1.1,1.2 test_email_codecs.py,1.2,1.3
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Tue, 23 Jul 2002 12:04:16 -0700
- Previous message: [Python-checkins] python/dist/src/Lib/test/data PyBanner048.gif,1.1,NONE msg_01.txt,1.1,NONE msg_02.txt,1.1,NONE msg_03.txt,1.1,NONE msg_04.txt,1.1,NONE msg_05.txt,1.1,NONE msg_06.txt,1.1,NONE msg_07.txt,1.1,NONE msg_08.txt,1.1,NONE msg_09.txt,1.1,NONE msg_10.txt,1.1,NONE msg_11.txt,1.1,NONE msg_12.txt,1.1,NONE msg_13.txt,1.1,NONE msg_14.txt,1.1,NONE msg_15.txt,1.1,NONE msg_16.txt,1.1,NONE msg_17.txt,1.1,NONE msg_18.txt,1.1,NONE msg_19.txt,1.1,NONE msg_20.txt,1.1,NONE msg_21.txt,1.1,NONE msg_22.txt,1.1,NONE msg_23.txt,1.1,NONE msg_24.txt,1.1,NONE msg_25.txt,1.1,NONE msg_26.txt,1.1,NONE msg_27.txt,1.1,NONE msg_28.txt,1.1,NONE msg_29.txt,1.1,NONE msg_30.txt,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Lib/test README,1.13,1.14 regrtest.py,1.90,1.91 test_StringIO.py,1.13,1.14 test___future__.py,1.4,1.5 test_anydbm.py,1.1,1.2 test_array.py,1.16,1.17 test_audioop.py,1.10,1.11 test_base64.py,1.2,1.3 test_binhex.py,1.12,1.13 test_binop.py,1.6,1.7 test_bool.py,1.6,1.7 test_calendar.py,1.3,1.4 test_call.py,1.2,1.3 test_capi.py,1.3,1.4 test_cmath.py,1.6,1.7 test_codecs.py,1.2,1.3 test_codeop.py,1.3,1.4 test_commands.py,1.5,1.6 test_compile.py,1.11,1.12 test_cookie.py,1.11,1.12 test_copy_reg.py,1.3,1.4 test_cpickle.py,1.11,1.12 test_crypt.py,1.6,1.7 test_curses.py,1.1,1.2 test_dbm.py,1.7,1.8 test_descr.py,1.148,1.149 test_descrtut.py,1.13,1.14 test_difflib.py,1.4,1.5 test_dircache.py,1.4,1.5 test_dl.py,1.11,1.12 test_doctest.py,1.4,1.5 test_doctest2.py,1.3,1.4 test_dospath.py,1.5,1.6 test_dumbdbm.py,1.6,1.7 test_enumerate.py,1.2,1.3 test_errno.py,1.7,1.8 test_fcntl.py,1.23,1.24 test_fileinput.py,1.1,1.2 test_fnmatch.py,1.3,1.4 test_format.py,1.13,1.14 test_fpformat.py,1.4,1.5 test_future.py,1.4,1.5 test_gc.py,1.17,1.18 test_gdbm.py,1.8,1.9 test_generators.py,1.35,1.36 test_getopt.py,1.5,1.6 test_glob.py,1.3,1.4 test_grp.py,1.9,1.10 test_hash.py,1.5,1.6 test_hmac.py,1.4,1.5 test_hotshot.py,1.9,1.10 test_htmllib.py,1.1,1.2 test_htmlparser.py,1.8,1.9 test_imageop.py,1.12,1.13 test_imgfile.py,1.11,1.12 test_import.py,1.16,1.17 test_inspect.py,1.7,1.8 test_isinstance.py,1.3,1.4 test_iter.py,1.25,1.26 test_largefile.py,1.14,1.15 test_linuxaudiodev.py,1.7,1.8 test_locale.py,1.3,1.4 test_long.py,1.16,1.17 test_long_future.py,1.4,1.5 test_mailbox.py,1.8,1.9 test_marshal.py,1.1,1.2 test_math.py,1.15,1.16 test_mhlib.py,1.7,1.8 test_mimetools.py,1.2,1.3 test_mimetypes.py,1.4,1.5 test_minidom.py,1.33,1.34 test_mmap.py,1.22,1.23 test_module.py,1.2,1.3 test_mpz.py,1.3,1.4 test_mutants.py,1.6,1.7 test_netrc.py,1.2,1.3 test_new.py,1.15,1.16 test_nis.py,1.11,1.12 test_ntpath.py,1.15,1.16 test_opcodes.py,1.10,1.11 test_openpty.py,1.6,1.7 test_operator.py,1.8,1.9 test_os.py,1.11,1.12 test_parser.py,1.11,1.12 test_pickle.py,1.9,1.10 test_pkg.py,1.14,1.15 test_pkgimport.py,1.5,1.6 test_poll.py,1.5,1.6 test_popen.py,1.2,1.3 test_popen2.py,1.6,1.7 test_pow.py,1.14,1.15 test_pprint.py,1.8,1.9 test_profilehooks.py,1.8,1.9 test_pty.py,1.14,1.15 test_pwd.py,1.11,1.12 test_pyclbr.py,1.11,1.12 test_pyexpat.py,1.12,1.13 test_queue.py,1.1,1.2 test_quopri.py,1.6,1.7 test_random.py,1.1,1.2 test_re.py,1.31,1.32 test_regex.py,1.11,1.12 test_repr.py,1.13,1.14 test_resource.py,1.1,1.2 test_rfc822.py,1.18,1.19 test_rgbimg.py,1.13,1.14 test_richcmp.py,1.6,1.7 test_robotparser.py,1.2,1.3 test_sax.py,1.19,1.20 test_scope.py,1.26,1.27 test_select.py,1.14,1.15 test_sgmllib.py,1.2,1.3 test_sha.py,1.3,1.4 test_signal.py,1.11,1.12 test_slice.py,1.1,1.2 test_socket.py,1.42,1.43 test_socket_ssl.py,1.4,1.5 test_socketserver.py,1.6,1.7 test_softspace.py,1.1,1.2 test_sre.py,1.35,1.36 test_strftime.py,1.26,1.27 test_string.py,1.17,1.18 test_strop.py,1.16,1.17 test_struct.py,1.14,1.15 test_structseq.py,1.3,1.4 test_sunaudiodev.py,1.10,1.11 test_sundry.py,1.10,1.11 test_symtable.py,1.3,1.4 test_syntax.py,1.1,1.2 test_thread.py,1.10,1.11 test_threaded_import.py,1.5,1.6 test_threadedtempfile.py,1.3,1.4 test_threading.py,1.2,1.3 test_time.py,1.10,1.11 test_timeout.py,1.6,1.7 test_timing.py,1.3,1.4 test_tokenize.py,1.6,1.7 test_traceback.py,1.4,1.5 test_types.py,1.35,1.36 test_ucn.py,1.8,1.9 test_unary.py,1.5,1.6 test_unicode.py,1.58,1.59 test_unicode_file.py,1.4,1.5 test_unicodedata.py,1.5,1.6 test_univnewlines.py,1.3,1.4 test_unpack.py,1.5,1.6 test_urllib.py,1.8,1.9 test_urllib2.py,1.6,1.7 test_urlparse.py,1.5,1.6 test_userdict.py,1.5,1.6 test_userlist.py,1.5,1.6 test_userstring.py,1.6,1.7 test_uu.py,1.3,1.4 test_wave.py,1.2,1.3 test_weakref.py,1.19,1.20 test_winreg.py,1.10,1.11 test_xmllib.py,1.10,1.11 test_xmlrpc.py,1.2,1.3 test_xreadline.py,1.3,1.4 test_zipfile.py,1.8,1.9 test_zlib.py,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/email/test
In directory usw-pr-cvs1:/tmp/cvs-serv26271/Lib/email/test
Modified Files:
test_email.py test_email_codecs.py
Log Message:
Get rid of relative imports in all unittests. Now anything that
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
Index: test_email.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_email.py 19 Jul 2002 22:29:00 -0000 1.1
--- test_email.py 23 Jul 2002 19:03:42 -0000 1.2
***************
*** 33,37 ****
from test.test_support import findfile, run_unittest
! from test.test_support import __file__ as test_support_file
--- 33,37 ----
from test.test_support import findfile, run_unittest
! from email.test import __file__ as landmark
***************
*** 46,50 ****
def openfile(filename):
! path = os.path.join(os.path.dirname(test_support_file), 'data', filename)
return open(path)
--- 46,50 ----
def openfile(filename):
! path = os.path.join(os.path.dirname(landmark), 'data', filename)
return open(path)
Index: test_email_codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email_codecs.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_email_codecs.py 21 Jul 2002 06:06:30 -0000 1.2
--- test_email_codecs.py 23 Jul 2002 19:03:42 -0000 1.3
***************
*** 3,7 ****
import unittest
! from test_support import TestSkipped, run_unittest
from email.test.test_email import TestEmailBase
--- 3,7 ----
import unittest
! from test.test_support import TestSkipped, run_unittest
from email.test.test_email import TestEmailBase
- Previous message: [Python-checkins] python/dist/src/Lib/test/data PyBanner048.gif,1.1,NONE msg_01.txt,1.1,NONE msg_02.txt,1.1,NONE msg_03.txt,1.1,NONE msg_04.txt,1.1,NONE msg_05.txt,1.1,NONE msg_06.txt,1.1,NONE msg_07.txt,1.1,NONE msg_08.txt,1.1,NONE msg_09.txt,1.1,NONE msg_10.txt,1.1,NONE msg_11.txt,1.1,NONE msg_12.txt,1.1,NONE msg_13.txt,1.1,NONE msg_14.txt,1.1,NONE msg_15.txt,1.1,NONE msg_16.txt,1.1,NONE msg_17.txt,1.1,NONE msg_18.txt,1.1,NONE msg_19.txt,1.1,NONE msg_20.txt,1.1,NONE msg_21.txt,1.1,NONE msg_22.txt,1.1,NONE msg_23.txt,1.1,NONE msg_24.txt,1.1,NONE msg_25.txt,1.1,NONE msg_26.txt,1.1,NONE msg_27.txt,1.1,NONE msg_28.txt,1.1,NONE msg_29.txt,1.1,NONE msg_30.txt,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Lib/test README,1.13,1.14 regrtest.py,1.90,1.91 test_StringIO.py,1.13,1.14 test___future__.py,1.4,1.5 test_anydbm.py,1.1,1.2 test_array.py,1.16,1.17 test_audioop.py,1.10,1.11 test_base64.py,1.2,1.3 test_binhex.py,1.12,1.13 test_binop.py,1.6,1.7 test_bool.py,1.6,1.7 test_calendar.py,1.3,1.4 test_call.py,1.2,1.3 test_capi.py,1.3,1.4 test_cmath.py,1.6,1.7 test_codecs.py,1.2,1.3 test_codeop.py,1.3,1.4 test_commands.py,1.5,1.6 test_compile.py,1.11,1.12 test_cookie.py,1.11,1.12 test_copy_reg.py,1.3,1.4 test_cpickle.py,1.11,1.12 test_crypt.py,1.6,1.7 test_curses.py,1.1,1.2 test_dbm.py,1.7,1.8 test_descr.py,1.148,1.149 test_descrtut.py,1.13,1.14 test_difflib.py,1.4,1.5 test_dircache.py,1.4,1.5 test_dl.py,1.11,1.12 test_doctest.py,1.4,1.5 test_doctest2.py,1.3,1.4 test_dospath.py,1.5,1.6 test_dumbdbm.py,1.6,1.7 test_enumerate.py,1.2,1.3 test_errno.py,1.7,1.8 test_fcntl.py,1.23,1.24 test_fileinput.py,1.1,1.2 test_fnmatch.py,1.3,1.4 test_format.py,1.13,1.14 test_fpformat.py,1.4,1.5 test_future.py,1.4,1.5 test_gc.py,1.17,1.18 test_gdbm.py,1.8,1.9 test_generators.py,1.35,1.36 test_getopt.py,1.5,1.6 test_glob.py,1.3,1.4 test_grp.py,1.9,1.10 test_hash.py,1.5,1.6 test_hmac.py,1.4,1.5 test_hotshot.py,1.9,1.10 test_htmllib.py,1.1,1.2 test_htmlparser.py,1.8,1.9 test_imageop.py,1.12,1.13 test_imgfile.py,1.11,1.12 test_import.py,1.16,1.17 test_inspect.py,1.7,1.8 test_isinstance.py,1.3,1.4 test_iter.py,1.25,1.26 test_largefile.py,1.14,1.15 test_linuxaudiodev.py,1.7,1.8 test_locale.py,1.3,1.4 test_long.py,1.16,1.17 test_long_future.py,1.4,1.5 test_mailbox.py,1.8,1.9 test_marshal.py,1.1,1.2 test_math.py,1.15,1.16 test_mhlib.py,1.7,1.8 test_mimetools.py,1.2,1.3 test_mimetypes.py,1.4,1.5 test_minidom.py,1.33,1.34 test_mmap.py,1.22,1.23 test_module.py,1.2,1.3 test_mpz.py,1.3,1.4 test_mutants.py,1.6,1.7 test_netrc.py,1.2,1.3 test_new.py,1.15,1.16 test_nis.py,1.11,1.12 test_ntpath.py,1.15,1.16 test_opcodes.py,1.10,1.11 test_openpty.py,1.6,1.7 test_operator.py,1.8,1.9 test_os.py,1.11,1.12 test_parser.py,1.11,1.12 test_pickle.py,1.9,1.10 test_pkg.py,1.14,1.15 test_pkgimport.py,1.5,1.6 test_poll.py,1.5,1.6 test_popen.py,1.2,1.3 test_popen2.py,1.6,1.7 test_pow.py,1.14,1.15 test_pprint.py,1.8,1.9 test_profilehooks.py,1.8,1.9 test_pty.py,1.14,1.15 test_pwd.py,1.11,1.12 test_pyclbr.py,1.11,1.12 test_pyexpat.py,1.12,1.13 test_queue.py,1.1,1.2 test_quopri.py,1.6,1.7 test_random.py,1.1,1.2 test_re.py,1.31,1.32 test_regex.py,1.11,1.12 test_repr.py,1.13,1.14 test_resource.py,1.1,1.2 test_rfc822.py,1.18,1.19 test_rgbimg.py,1.13,1.14 test_richcmp.py,1.6,1.7 test_robotparser.py,1.2,1.3 test_sax.py,1.19,1.20 test_scope.py,1.26,1.27 test_select.py,1.14,1.15 test_sgmllib.py,1.2,1.3 test_sha.py,1.3,1.4 test_signal.py,1.11,1.12 test_slice.py,1.1,1.2 test_socket.py,1.42,1.43 test_socket_ssl.py,1.4,1.5 test_socketserver.py,1.6,1.7 test_softspace.py,1.1,1.2 test_sre.py,1.35,1.36 test_strftime.py,1.26,1.27 test_string.py,1.17,1.18 test_strop.py,1.16,1.17 test_struct.py,1.14,1.15 test_structseq.py,1.3,1.4 test_sunaudiodev.py,1.10,1.11 test_sundry.py,1.10,1.11 test_symtable.py,1.3,1.4 test_syntax.py,1.1,1.2 test_thread.py,1.10,1.11 test_threaded_import.py,1.5,1.6 test_threadedtempfile.py,1.3,1.4 test_threading.py,1.2,1.3 test_time.py,1.10,1.11 test_timeout.py,1.6,1.7 test_timing.py,1.3,1.4 test_tokenize.py,1.6,1.7 test_traceback.py,1.4,1.5 test_types.py,1.35,1.36 test_ucn.py,1.8,1.9 test_unary.py,1.5,1.6 test_unicode.py,1.58,1.59 test_unicode_file.py,1.4,1.5 test_unicodedata.py,1.5,1.6 test_univnewlines.py,1.3,1.4 test_unpack.py,1.5,1.6 test_urllib.py,1.8,1.9 test_urllib2.py,1.6,1.7 test_urlparse.py,1.5,1.6 test_userdict.py,1.5,1.6 test_userlist.py,1.5,1.6 test_userstring.py,1.6,1.7 test_uu.py,1.3,1.4 test_wave.py,1.2,1.3 test_weakref.py,1.19,1.20 test_winreg.py,1.10,1.11 test_xmllib.py,1.10,1.11 test_xmlrpc.py,1.2,1.3 test_xreadline.py,1.3,1.4 test_zipfile.py,1.8,1.9 test_zlib.py,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]