@@ -97,15 +97,15 @@ class Z(object):
9797 def __len__ (self ):
9898 return 1
9999 self .assertRaises (TypeError , _posixsubprocess .fork_exec ,
100- 1 ,Z (),3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 )
100+ 1 ,Z (),3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 , 21 )
101101 # Issue #15736: overflow in _PySequence_BytesToCharpArray()
102102 class Z (object ):
103103 def __len__ (self ):
104104 return sys .maxsize
105105 def __getitem__ (self , i ):
106106 return b'x'
107107 self .assertRaises (MemoryError , _posixsubprocess .fork_exec ,
108- 1 ,Z (),3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 )
108+ 1 ,Z (),3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 , 21 )
109109
110110 @unittest .skipUnless (_posixsubprocess , '_posixsubprocess required for this test.' )
111111 def test_subprocess_fork_exec (self ):
@@ -115,7 +115,7 @@ def __len__(self):
115115
116116 # Issue #15738: crash in subprocess_fork_exec()
117117 self .assertRaises (TypeError , _posixsubprocess .fork_exec ,
118- Z (),[b'1' ],3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 )
118+ Z (),[b'1' ],3 ,(1 , 2 ),5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16 ,17 ,18 ,19 ,20 , 21 )
119119
120120 @unittest .skipIf (MISSING_C_DOCSTRINGS ,
121121 "Signature information for builtins requires docstrings" )
0 commit comments