From: Benjamin Peterson Date: Wed, 28 Sep 2011 12:19:25 +0000 (-0400) Subject: revert unintended change X-Git-Tag: v3.3.0a1~1480 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e28544ad5f6cd474ed742a18c557574b03fa6fba;p=thirdparty%2FPython%2Fcpython.git revert unintended change --- diff --git a/Lib/test/test_pep3131.py b/Lib/test/test_pep3131.py index 9a3c7eee158a..df0f64d86aca 100644 --- a/Lib/test/test_pep3131.py +++ b/Lib/test/test_pep3131.py @@ -19,7 +19,10 @@ class PEP3131Test(unittest.TestCase): 𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = 1 # On wide builds, this is normalized, but on narrow ones it is not. See # #12746. - self.assertIn("Unicode", dir()) + try: + self.assertIn("𝔘𝔫𝔦𝔠𝔬𝔡𝔢", dir()) + except AssertionError: + raise unittest.case._ExpectedFailure(sys.exc_info()) def test_invalid(self): try: