We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25e7a30 commit 7dca9f7Copy full SHA for 7dca9f7
Lib/test/test_unicode.py
@@ -725,7 +725,9 @@ def test_isidentifier_legacy(self):
725
import _testcapi
726
u = '𝖀𝖓𝖎𝖈𝖔𝖉𝖊'
727
self.assertTrue(u.isidentifier())
728
- self.assertTrue(_testcapi.unicode_legacy_string(u).isidentifier())
+ with support.check_warnings():
729
+ warnings.simplefilter('ignore', DeprecationWarning)
730
+ self.assertTrue(_testcapi.unicode_legacy_string(u).isidentifier())
731
732
def test_isprintable(self):
733
self.assertTrue("".isprintable())
0 commit comments