Skip to content

Commit 1b538e9

Browse files
committed
Update screenshot_test.py
1 parent 0c2cd07 commit 1b538e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit_test/screen/screenshot_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
assert (image is not None)
88
print(image)
99

10-
subprocess.call("notepad.exe")
10+
subprocess.Popen("notepad.exe", stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, shell=True)
1111

1212
# screenshot and save
1313
image = screenshot("test.png")

0 commit comments

Comments
 (0)