diff options
| author | Nikita Sobolev <mail@sobolevn.me> | 2023-09-18 13:04:17 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 13:04:17 (GMT) |
| commit | 4dd47c63a97b3c39cd964ad12431fcdaf76dc823 (patch) | |
| tree | 9c8328f493ed3943e77c5aa02f939975348d1ba6 /Lib/test/test_utf8source.py | |
| parent | dd5d2141abf78fcd787f12654f08bf1ee92288bf (diff) | |
| download | cpython-4dd47c63a97b3c39cd964ad12431fcdaf76dc823.zip cpython-4dd47c63a97b3c39cd964ad12431fcdaf76dc823.tar.gz cpython-4dd47c63a97b3c39cd964ad12431fcdaf76dc823.tar.bz2 | |
gh-108303: Fix and move `badsyntax_pep3120.py` (#109513)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Lib/test/test_utf8source.py')
| -rw-r--r-- | Lib/test/test_utf8source.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_utf8source.py b/Lib/test/test_utf8source.py index 97dced8..c42b6aa 100644 --- a/Lib/test/test_utf8source.py +++ b/Lib/test/test_utf8source.py @@ -1,5 +1,3 @@ -# This file is marked as binary in the CVS, to prevent MacCVS from recoding it. - import unittest class PEP3120Test(unittest.TestCase): @@ -16,7 +14,7 @@ class PEP3120Test(unittest.TestCase): def test_badsyntax(self): try: - import test.badsyntax_pep3120 + import test.tokenizedata.badsyntax_pep3120 except SyntaxError as msg: msg = str(msg).lower() self.assertTrue('utf-8' in msg) |
