| 1 |
import sys |
| 2 |
|
| 3 |
import pytest |
| 4 |
|
| 5 |
if_win32 = pytest.mark.skipif( |
| 6 |
sys.platform.startswith('win32'), |
| 7 |
reason='Does not work on Windows' |
| 8 |
) |
| 9 |
|
| 10 |
unless_win32 = pytest.mark.skipif( |
| 11 |
not sys.platform.startswith('win32'), |
| 12 |
reason='Requires Windows to work' |
| 13 |
) |