File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4188,8 +4188,8 @@ def waitpid_wrapper(pid, flags):
41884188 with self .assertRaises (subprocess .TimeoutExpired ):
41894189 p .wait (self .WAIT_TIMEOUT )
41904190 self .assertEqual (p .wait (timeout = support .SHORT_TIMEOUT ), 0 )
4191- assert m1 .called
4192- assert m2 .called
4191+ self . assertTrue ( m1 .called )
4192+ self . assertTrue ( m2 .called )
41934193
41944194 @unittest .skipIf (not CAN_USE_PIDFD_OPEN , reason = "needs pidfd_open()" )
41954195 def test_pidfd_open_notification_without_immediate_reap (self ):
@@ -4211,7 +4211,7 @@ def test_fast_path_avoid_busy_loop(self):
42114211 with self .assertRaises (subprocess .TimeoutExpired ):
42124212 p .wait (self .WAIT_TIMEOUT )
42134213 self .assertEqual (p .wait (timeout = support .LONG_TIMEOUT ), 0 )
4214- assert not m .called
4214+ self . assertFalse ( m .called )
42154215
42164216if __name__ == "__main__" :
42174217 unittest .main ()
You can’t perform that action at this time.
0 commit comments