mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-10 07:14:46 +03:00
remove redundant default value
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
This commit is contained in:
parent
fc5cd83ec0
commit
062b7e2470
|
@ -15,7 +15,7 @@ class TestImageGrab:
|
||||||
sys.platform not in ("win32", "darwin"), reason="requires Windows or macOS"
|
sys.platform not in ("win32", "darwin"), reason="requires Windows or macOS"
|
||||||
)
|
)
|
||||||
def test_grab(self):
|
def test_grab(self):
|
||||||
if os.environ.get("USERNAME", "") == "ContainerAdministrator":
|
if os.environ.get("USERNAME") == "ContainerAdministrator":
|
||||||
pytest.skip("can't grab screen when running in Docker")
|
pytest.skip("can't grab screen when running in Docker")
|
||||||
ImageGrab.grab()
|
ImageGrab.grab()
|
||||||
ImageGrab.grab(include_layered_windows=True)
|
ImageGrab.grab(include_layered_windows=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user