Skip to content

Commit 965f0c7

Browse files
authored
Merge pull request #51 from psi4/loriab-patch-1
hopefully enable skipping py2
2 parents 319b2fb + 8097037 commit 965f0c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/addons.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import pytest
23

34

@@ -51,3 +52,6 @@ def is_numpy_new_enough(version_feature_introduced):
5152

5253
using_pylibefp = pytest.mark.skipif(_plugin_import('pylibefp') is False,
5354
reason='Not detecting module pylibefp. Install package if necessary and add to envvar PYTHONPATH')
55+
56+
using_py3 = pytest.mark.skipif(sys.version_info < (3, 0),
57+
reason='Python does not use Py3 features, hurrah!')

0 commit comments

Comments
 (0)