Skip to content

Commit 4463669

Browse files
committed
fixup merge conflict
1 parent acd0d7e commit 4463669

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

Lib/test/test_subprocess.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3819,9 +3819,11 @@ def spy(*args):
38193819
@support.requires_resource('gui')
38203820
def test_creationflags(self):
38213821
sys.stderr.write(" a DOS box should flash briefly ...\n")
3822-
subprocess.call(sys.executable +
3823-
' -c "import time; time.sleep(0.25)"',
3824-
creationflags=subprocess.CREATE_NEW_CONSOLE)
3822+
rc = subprocess.call(sys.executable +
3823+
' -c "import time; time.sleep(0.25)"',
3824+
creationflags=CREATE_NEW_CONSOLE)
3825+
support.skip_on_low_desktop_heap_memory_subprocess(rc)
3826+
self.assertEqual(rc, 0)
38253827

38263828
def test_force_hide(self):
38273829
if ctypes:
@@ -3834,10 +3836,6 @@ def test_force_hide(self):
38343836
else:
38353837
script = 'import sys; sys.exit(0)'
38363838
rc = subprocess.call([sys.executable, '-c', script], force_hide=True)
3837-
rc = subprocess.call(sys.executable +
3838-
' -c "import time; time.sleep(0.25)"',
3839-
creationflags=CREATE_NEW_CONSOLE)
3840-
support.skip_on_low_desktop_heap_memory_subprocess(rc)
38413839
self.assertEqual(rc, 0)
38423840

38433841
def test_invalid_args(self):

0 commit comments

Comments
 (0)