diff --git a/stubs/PyAutoGUI/@tests/stubtest_allowlist.txt b/stubs/PyAutoGUI/@tests/stubtest_allowlist.txt deleted file mode 100644 index 5aef37e7cd18..000000000000 --- a/stubs/PyAutoGUI/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1,3 +0,0 @@ -# pyautogui requires a display, resulting in the following error on the CI: -# failed to import, KeyError: 'DISPLAY' -pyautogui diff --git a/stubs/PyAutoGUI/METADATA.toml b/stubs/PyAutoGUI/METADATA.toml index 1548770aaef9..c0c77d1f6926 100644 --- a/stubs/PyAutoGUI/METADATA.toml +++ b/stubs/PyAutoGUI/METADATA.toml @@ -1,4 +1,6 @@ version = "0.9.*" [tool.stubtest] -ignore_missing_stub = false +# pyautogui requires a display, resulting in the following error on the CI: +# failed to import, KeyError: 'DISPLAY' +skip = true