[Python-checkins] python/dist/src/Lib UserString.py,1.13,1.14
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Tue, 30 Jul 2002 16:26:02 -0700
- Previous message: [Python-checkins] python/dist/src configure,1.326,1.327 configure.in,1.337,1.338
- Next message: [Python-checkins] python/dist/src/Lib/test double_const.py,1.1,1.2 pickletester.py,1.15,1.16 regrtest.py,1.91,1.92 string_tests.py,1.18,1.19 test___all__.py,1.26,1.27 test_al.py,1.6,1.7 test_atexit.py,1.7,1.8 test_b1.py,1.48,1.49 test_b2.py,1.35,1.36 test_binascii.py,1.14,1.15 test_bisect.py,1.1,1.2 test_bufio.py,1.5,1.6 test_builtin.py,1.1,1.2 test_cd.py,1.5,1.6 test_cfgparser.py,1.11,1.12 test_cgi.py,1.6,1.7 test_cl.py,1.5,1.6 test_class.py,1.8,1.9 test_coercion.py,1.5,1.6 test_compare.py,1.6,1.7 test_complex.py,1.8,1.9 test_contains.py,1.8,1.9 test_exceptions.py,1.17,1.18 test_extcall.py,1.17,1.18 test_file.py,1.9,1.10 test_frozen.py,1.1,1.2 test_funcattrs.py,1.11,1.12 test_getargs.py,1.3,1.4 test_gl.py,1.7,1.8 test_global.py,1.5,1.6 test_grammar.py,1.40,1.41 test_gzip.py,1.9,1.10 test_httplib.py,1.8,1.9 test_strop.py,1.17,1.18 test_support.py,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv6095/Lib
Modified Files:
UserString.py
Log Message:
Complete the absolute import patch for the test suite. All relative
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
Index: UserString.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/UserString.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** UserString.py 20 May 2002 14:48:16 -0000 1.13
--- UserString.py 30 Jul 2002 23:26:00 -0000 1.14
***************
*** 174,182 ****
import os
called_in_dir, called_as = os.path.split(sys.argv[0])
- called_in_dir = os.path.abspath(called_in_dir)
called_as, py = os.path.splitext(called_as)
- sys.path.append(os.path.join(called_in_dir, 'test'))
if '-q' in sys.argv:
! import test_support
test_support.verbose = 0
! __import__('test_' + called_as.lower())
--- 174,180 ----
import os
called_in_dir, called_as = os.path.split(sys.argv[0])
called_as, py = os.path.splitext(called_as)
if '-q' in sys.argv:
! from test import test_support
test_support.verbose = 0
! __import__('test.test_' + called_as.lower())
- Previous message: [Python-checkins] python/dist/src configure,1.326,1.327 configure.in,1.337,1.338
- Next message: [Python-checkins] python/dist/src/Lib/test double_const.py,1.1,1.2 pickletester.py,1.15,1.16 regrtest.py,1.91,1.92 string_tests.py,1.18,1.19 test___all__.py,1.26,1.27 test_al.py,1.6,1.7 test_atexit.py,1.7,1.8 test_b1.py,1.48,1.49 test_b2.py,1.35,1.36 test_binascii.py,1.14,1.15 test_bisect.py,1.1,1.2 test_bufio.py,1.5,1.6 test_builtin.py,1.1,1.2 test_cd.py,1.5,1.6 test_cfgparser.py,1.11,1.12 test_cgi.py,1.6,1.7 test_cl.py,1.5,1.6 test_class.py,1.8,1.9 test_coercion.py,1.5,1.6 test_compare.py,1.6,1.7 test_complex.py,1.8,1.9 test_contains.py,1.8,1.9 test_exceptions.py,1.17,1.18 test_extcall.py,1.17,1.18 test_file.py,1.9,1.10 test_frozen.py,1.1,1.2 test_funcattrs.py,1.11,1.12 test_getargs.py,1.3,1.4 test_gl.py,1.7,1.8 test_global.py,1.5,1.6 test_grammar.py,1.40,1.41 test_gzip.py,1.9,1.10 test_httplib.py,1.8,1.9 test_strop.py,1.17,1.18 test_support.py,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]