Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90184:8c20ae4ead12
Date: 2017-02-18 21:36 +0100
http://bitbucket.org/pypy/pypy/changeset/8c20ae4ead12/

Log:    ok there is no point: the '_locale' module no longer hacks at the
        'string' module in py3

diff --git a/pypy/module/_locale/test/test_locale.py 
b/pypy/module/_locale/test/test_locale.py
--- a/pypy/module/_locale/test/test_locale.py
+++ b/pypy/module/_locale/test/test_locale.py
@@ -106,24 +106,6 @@
         assert _locale.setlocale(_locale.LC_ALL, None)
         assert _locale.setlocale(_locale.LC_ALL)
 
-    def test_string_ulcase(self):
-        if not hasattr(self, 'language_utf8'):
-            skip("No utf8 locale on this platform")
-        import _locale, string
-
-        lcase = "abcdefghijklmnopqrstuvwxyz"
-        ucase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-
-        _locale.setlocale(_locale.LC_ALL, self.language_utf8)
-        assert string.ascii_lowercase == lcase
-        assert string.ascii_uppercase == ucase
-
-        _locale.setlocale(_locale.LC_ALL, self.language_en)
-
-        # the asserts below are just plain wrong
-        #    assert string.lowercase != lcase
-        #    assert string.uppercase != ucase
-
     def test_localeconv(self):
         import _locale
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to