[Python-checkins] python/dist/src/Lib/test test_locale.py,1.3,1.3.18.1 regrtest.py,1.70.4.3,1.70.4.4

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Mon, 31 Mar 2003 14:11:55 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv1606/Lib/test

Modified Files:
      Tag: release22-maint
	test_locale.py regrtest.py 
Log Message:
backport test skip for test_locale on Mac OS X


Index: test_locale.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_locale.py,v
retrieving revision 1.3
retrieving revision 1.3.18.1
diff -C2 -d -r1.3 -r1.3.18.1
*** test_locale.py	2 May 2001 05:54:44 -0000	1.3
--- test_locale.py	31 Mar 2003 22:11:44 -0000	1.3.18.1
***************
*** 1,6 ****
! from test_support import verbose
  import locale
  import sys
  
  oldlocale = locale.setlocale(locale.LC_NUMERIC)
  
--- 1,8 ----
! from test_support import verbose, TestSkipped
  import locale
  import sys
  
+ if sys.platform == 'darwin':
+     raise TestSkipped("Locale support on MacOSX is minimal and cannot be tested")
  oldlocale = locale.setlocale(locale.LC_NUMERIC)
  

Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.70.4.3
retrieving revision 1.70.4.4
diff -C2 -d -r1.70.4.3 -r1.70.4.4
*** regrtest.py	4 Oct 2002 17:24:24 -0000	1.70.4.3
--- regrtest.py	31 Mar 2003 22:11:45 -0000	1.70.4.4
***************
*** 703,706 ****
--- 703,707 ----
          test_imgfile
          test_largefile
+         test_locale
          test_linuxaudiodev
          test_minidom