summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-09-28 12:19:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-09-28 12:19:25 (GMT)
commite28544ad5f6cd474ed742a18c557574b03fa6fba (patch)
tree8e351c9df002f4891a80dae1edfc26f56d257e3e /Lib/test
parent9c6e6a0c7fbc2a15bbd3092e8a75bec80da58b3d (diff)
downloadcpython-e28544ad5f6cd474ed742a18c557574b03fa6fba.zip
cpython-e28544ad5f6cd474ed742a18c557574b03fa6fba.tar.gz
cpython-e28544ad5f6cd474ed742a18c557574b03fa6fba.tar.bz2
revert unintended change
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pep3131.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_pep3131.py b/Lib/test/test_pep3131.py
index 9a3c7ee..df0f64d 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: