summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tools/test_reindent.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tools/test_reindent.py')
-rw-r--r--Lib/test/test_tools/test_reindent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tools/test_reindent.py b/Lib/test/test_tools/test_reindent.py
index 3b0c793..64e31c2 100644
--- a/Lib/test/test_tools/test_reindent.py
+++ b/Lib/test/test_tools/test_reindent.py
@@ -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'')