Skip to content

Commit f32202f

Browse files
committed
no assertStartsWith
1 parent 897f197 commit f32202f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ def test_post_timeout_communicate_sends_input(self):
16731673
self.assertEqual(
16741674
proc.returncode, 0,
16751675
msg=f"STDERR:\n{stderr}\nSTDOUT:\n{stdout}")
1676-
self.assertStartsWith(stdout, "spam")
1676+
self.assertTrue(stdout.startswith("spam"), msg=stdout)
16771677
self.assertIn("beans", stdout)
16781678

16791679

0 commit comments

Comments
 (0)