| 1 | From: Santiago Vila <[email protected]> |
| 2 | Date: Fri, 13 Mar 2026 17:51:59 +0100 |
| 3 | Subject: Disable flaky tests |
| 4 | |
| 5 | Bug-Debian: https://bugs.debian.org/1085110 |
| 6 | Last-Update: 2024-11-20 |
| 7 | --- |
| 8 | tests/test_pyautogui.py | 2 ++ |
| 9 | 1 file changed, 2 insertions(+) |
| 10 | |
| 11 | diff --git a/tests/test_pyautogui.py b/tests/test_pyautogui.py |
| 12 | index dfcdab5..3032adf 100644 |
| 13 | --- a/tests/test_pyautogui.py |
| 14 | +++ b/tests/test_pyautogui.py |
| 15 | @@ -257,6 +257,7 @@ class TestGeneral(unittest.TestCase): |
| 16 | |
| 17 | |
| 18 | class TestHelperFunctions(unittest.TestCase): |
| 19 | + @unittest.skip("flaky test") |
| 20 | def test__normalizeXYArgs(self): |
| 21 | self.assertEqual(pyautogui._normalizeXYArgs(1, 2), pyautogui.Point(x=1, y=2)) |
| 22 | self.assertEqual(pyautogui._normalizeXYArgs((1, 2), None), pyautogui.Point(x=1, y=2)) |
| 23 | @@ -845,6 +846,7 @@ class TestFailSafe(unittest.TestCase): |
| 24 | |
| 25 | |
| 26 | class TestPyScreezeFunctions(unittest.TestCase): |
| 27 | + @unittest.skip("flaky test") |
| 28 | def test_locateFunctions(self): |
| 29 | # TODO - for now, we only test that the "return None" and "raise pyautogui.ImageNotFoundException" is raised. |
| 30 |