aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_utf8source.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-18 16:04:17 +0300
committerGitHub <noreply@github.com>2023-09-18 14:04:17 +0100
commit4dd47c63a97b3c39cd964ad12431fcdaf76dc823 (patch)
tree9c8328f493ed3943e77c5aa02f939975348d1ba6 /Lib/test/test_utf8source.py
parentdd5d2141abf78fcd787f12654f08bf1ee92288bf (diff)
downloadcpython-4dd47c63a97b3c39cd964ad12431fcdaf76dc823.tar.gz
cpython-4dd47c63a97b3c39cd964ad12431fcdaf76dc823.zip
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.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_utf8source.py b/Lib/test/test_utf8source.py
index 97dced8a622..c42b6aaaab5 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)