this test works as expected now
This commit is contained in:
parent
e28544ad5f
commit
a6e50f589f
|
@ -17,12 +17,7 @@ class PEP3131Test(unittest.TestCase):
|
||||||
|
|
||||||
def test_non_bmp_normalized(self):
|
def test_non_bmp_normalized(self):
|
||||||
𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = 1
|
𝔘𝔫𝔦𝔠𝔬𝔡𝔢 = 1
|
||||||
# On wide builds, this is normalized, but on narrow ones it is not. See
|
self.assertIn("Unicode", dir())
|
||||||
# #12746.
|
|
||||||
try:
|
|
||||||
self.assertIn("𝔘𝔫𝔦𝔠𝔬𝔡𝔢", dir())
|
|
||||||
except AssertionError:
|
|
||||||
raise unittest.case._ExpectedFailure(sys.exc_info())
|
|
||||||
|
|
||||||
def test_invalid(self):
|
def test_invalid(self):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue