mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265)
This commit is contained in:
parent
8c813faf86
commit
1110c5bc82
18 changed files with 40 additions and 25 deletions
|
@ -25,7 +25,7 @@ class ReindentTests(unittest.TestCase):
|
|||
self.assertGreater(err, b'')
|
||||
|
||||
def test_reindent_file_with_bad_encoding(self):
|
||||
bad_coding_path = findfile('bad_coding.py')
|
||||
bad_coding_path = findfile('bad_coding.py', subdir='tokenizedata')
|
||||
rc, out, err = assert_python_ok(self.script, '-r', bad_coding_path)
|
||||
self.assertEqual(out, b'')
|
||||
self.assertNotEqual(err, b'')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue