mirror of
https://github.com/python/cpython.git
synced 2026-01-31 03:32:07 +00:00
don't check that the first character is XID_Continue
Current, XID_Continue is a superset of XID_Start, but that may sometime change.
This commit is contained in:
parent
d83f226d93
commit
9c6e6a0c7f
2 changed files with 2 additions and 5 deletions
|
|
@ -19,10 +19,7 @@ def test_non_bmp_normalized(self):
|
|||
ππ«π¦π π¬π‘π’ = 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:
|
||||
|
|
|
|||
Loadingβ¦
Add table
Add a link
Reference in a new issue