[Python-checkins] python/dist/src/Lib/test test_base64.py,1.4.2.1,1.4.2.2

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Sun, 18 Aug 2002 18:20:11 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv31956/22/Lib/test

Modified Files:
      Tag: release22-maint
	test_base64.py 
Log Message:
A trip down memory lane.  Barry checked in this test with 2.3-style
imports of test_support.  That causes multiple copies of test_support
to get loaded, and the one used by test_base64.py didn't see the proper
value of verbose=False, so spewed output.  That in turn apparenly caused
Barry to check in an expected-results output file, but a unitttest-based
test should never have one of those.  I noticed this because, on Windows,
the final unittest output line contains the number of seconds needed to
run the test, and that varied on *some* runs when I tried it, causing
bogus test failures.

Anyway, this gets rid of the expected-output file again, and changes
the imports to work with 2.2's way of doing this.


Index: test_base64.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_base64.py,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -d -r1.4.2.1 -r1.4.2.2
*** test_base64.py	15 Aug 2002 22:18:11 -0000	1.4.2.1
--- test_base64.py	19 Aug 2002 01:20:09 -0000	1.4.2.2
***************
*** 1,4 ****
  import unittest
! from test import test_support
  import base64
  from binascii import Error as binascii_error
--- 1,4 ----
  import unittest
! import test_support
  import base64
  from binascii import Error as binascii_error