Skip to content

Commit a737bd3

Browse files
authored
non-late-night regex fixing.
1 parent 68cc668 commit a737bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3398,7 +3398,7 @@ def test_vfork_used_when_expected(self):
33983398
_run_using_command=strace_command,
33993399
)
34003400
# Match both vfork() and clone(..., flags=...|CLONE_VFORK|...)
3401-
self.assertRegex(vfork_result.err, br"(?mi)^vfork")
3401+
self.assertRegex(vfork_result.err, br"(?mi)vfork")
34023402
# Do NOT check that fork() or other clones did not happen.
34033403
# If the OS denys the vfork it'll fallback to plain fork().
34043404

@@ -3426,7 +3426,7 @@ def test_vfork_used_when_expected(self):
34263426
_run_using_command=strace_command,
34273427
)
34283428
# Ensure neither vfork() or clone(..., flags=...|CLONE_VFORK|...).
3429-
self.assertNotRegex(non_vfork_result.err, br"(?mi)^vfork")
3429+
self.assertNotRegex(non_vfork_result.err, br"(?mi)vfork")
34303430

34313431

34323432
@unittest.skipUnless(mswindows, "Windows specific tests")

0 commit comments

Comments
 (0)