[Python-checkins] CVS: python/dist/src/Lib/test regrtest.py,1.72,1.73

Tim Peters tim_one@users.sourceforge.net
2002年3月31日 21:04:48 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10639/python/Lib/test
Modified Files:
	regrtest.py 
Log Message:
We expect to skip the new test_mpz on Windows.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** regrtest.py	15 Mar 2002 02:54:03 -0000	1.72
--- regrtest.py	1 Apr 2002 05:04:46 -0000	1.73
***************
*** 467,470 ****
--- 467,473 ----
 return data
 
+ # Map sys.platform to a string containing the basenames of tests
+ # expected to be skipped on that platform.
+ 
 _expectations = {
 'win32':
***************
*** 487,490 ****
--- 490,494 ----
 test_linuxaudiodev
 test_mhlib
+ test_mpz
 test_nis
 test_openpty
***************
*** 678,682 ****
 def __init__(self):
 self.valid = 0
! if _expectations.has_key(sys.platform):
 s = _expectations[sys.platform]
 self.expected = _Set(s.split())
--- 682,686 ----
 def __init__(self):
 self.valid = 0
! if sys.platform in _expectations:
 s = _expectations[sys.platform]
 self.expected = _Set(s.split())

AltStyle によって変換されたページ (->オリジナル) /