[Zodb-checkins] CVS: Packages/ZConfig/tests - test_schema.py:1.1.2.25

Fred L. Drake, Jr. fred@zope.com
Wed, 18 Dec 2002 21:26:06 -0500


Update of /cvs-repository/Packages/ZConfig/tests
In directory cvs.zope.org:/tmp/cvs-serv15067

Modified Files:
      Tag: zconfig-schema-devel-branch
	test_schema.py 
Log Message:
The "no" part of the locale "no-such-locale" was interpreted as
Norwegian on Win2K, so changed to a locale that fails my Linux and
Win2K boxes.


=== Packages/ZConfig/tests/test_schema.py 1.1.2.24 => 1.1.2.25 ===
--- Packages/ZConfig/tests/test_schema.py:1.1.2.24	Wed Dec 18 16:24:53 2002
+++ Packages/ZConfig/tests/test_schema.py	Wed Dec 18 21:26:05 2002
@@ -375,7 +375,7 @@
         convert = types.get("locale")
         # Python supports "C" even when the _locale module is not available
         self.assertEqual(convert("C"), "C")
-        self.assertRaises(ValueError, convert, "no-such-locale")
+        self.assertRaises(ValueError, convert, "locale-does-not-exist")
 
     def test_datatype_port(self):
         convert = types.get("port-number")