summaryrefslogtreecommitdiff
path: root/t/skip.py
blob: 966398ec6cd4b62aeebee08ab770280ddda86f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from __future__ import annotations

import sys

import pytest

if_pypy = pytest.mark.skipif(
    getattr(sys, 'pypy_version_info', None),
    reason='PyPy not supported.'
)

if_win32 = pytest.mark.skipif(
    sys.platform.startswith('win32'),
    reason='Does not work on Windows'
)