| 1 | from __future__ import annotations |
| 2 | |
| 3 | import pytest |
| 4 | |
| 5 | |
| 6 | def test_xvfb_windows(pytester: pytest.Pytester) -> None: |
| 7 | """Make sure things don't break on Windows with no Xvfb available.""" |
| 8 | pytester.makepyfile( |
| 9 | """ |
| 10 | def test_nothing(): |
| 11 | pass |
| 12 | """ |
| 13 | ) |
| 14 | result = pytester.runpytest() |
| 15 | assert result.ret == 0 |