summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep3131.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-09-28 12:09:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-09-28 12:09:05 (GMT)
commit9c6e6a0c7fbc2a15bbd3092e8a75bec80da58b3d (patch)
tree8006ca48906b1d320341439b0f87c913b8755ca9 /Lib/test/test_pep3131.py
parentd83f226d93cc24be3d6db953c8e8bd3d751c81a9 (diff)
downloadcpython-9c6e6a0c7fbc2a15bbd3092e8a75bec80da58b3d.zip
cpython-9c6e6a0c7fbc2a15bbd3092e8a75bec80da58b3d.tar.gz
cpython-9c6e6a0c7fbc2a15bbd3092e8a75bec80da58b3d.tar.bz2
don't check that the first character is XID_Continue
Current, XID_Continue is a superset of XID_Start, but that may sometime change.
Diffstat (limited to 'Lib/test/test_pep3131.py')
-rw-r--r--Lib/test/test_pep3131.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_pep3131.py b/Lib/test/test_pep3131.py
index df0f64d..9a3c7ee 100644
--- a/Lib/test/test_pep3131.py
+++ b/Lib/test/test_pep3131.py
@@ -19,10 +19,7 @@ class PEP3131Test(unittest.TestCase):
𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = 1
# On wide builds, this is normalized, but on narrow ones it is not. See
# #12746.
- try:
- self.assertIn("𝔘𝔫𝔦𝔠𝔬𝔡𝔢", dir())
- except AssertionError:
- raise unittest.case._ExpectedFailure(sys.exc_info())
+ self.assertIn("Unicode", dir())
def test_invalid(self):
try: