Skip to content

Commit 7e3ee76

Browse files
committed
Pass -c pass to tests
1 parent 4689159 commit 7e3ee76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_cmd_line.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,11 +1281,11 @@ def test_invalid_thread_local_bytecode(self):
12811281
'-X presite requires a Python debug build')
12821282
def test_presite(self):
12831283
entrypoint = "test.test_cmd_line:presite_func"
1284-
proc = assert_python_ok("-X", f"presite={entrypoint}")
1284+
proc = assert_python_ok("-X", f"presite={entrypoint}", "-c", "pass")
12851285
self.assertEqual(proc.out.rstrip(), b"presite func")
12861286

12871287
entrypoint = "test.test_cmd_line:presite.attr.func"
1288-
proc = assert_python_ok("-X", f"presite={entrypoint}")
1288+
proc = assert_python_ok("-X", f"presite={entrypoint}", "-c", "pass")
12891289
self.assertEqual(proc.out.rstrip(), b"presite func")
12901290

12911291

0 commit comments

Comments
 (0)