Added t/skip.py file

This commit is contained in:
Matus Valo 2020-08-16 21:51:02 +02:00 committed by Asif Saif Uddin
parent 04cf759625
commit 35f5c6edf8
1 changed files with 7 additions and 0 deletions

7
t/skip.py Normal file
View File

@ -0,0 +1,7 @@
import sys
import functools
import importlib
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')