diff --git a/Lib/test/test_source_encoding.py b/Lib/test/test_source_encoding.py index 39b623e637f..92cf8d94c59 100644 --- a/Lib/test/test_source_encoding.py +++ b/Lib/test/test_source_encoding.py @@ -60,7 +60,7 @@ class SourceEncodingTest(unittest.TestCase): self.assertRaises(SyntaxError, eval, b'\xef\xbb\x20') def test_20731(self): - sub = subprocess.Popen([sys.executable, + sub = subprocess.Popen([sys.executable, os.path.join(os.path.dirname(__file__), 'coding20731.py')], stderr=subprocess.PIPE)