We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6127f7c commit 4db270cCopy full SHA for 4db270c
example/test_examples.py
@@ -2,9 +2,10 @@
2
import subprocess
3
import tempfile
4
import nbformat
5
-
+import sys
6
from example import basic_example as be
7
from numpy.testing import assert_allclose
8
+import pytest
9
10
11
class TestExamples:
@@ -42,8 +43,9 @@ def _notebook_run(self, path):
42
43
44
return nb, errors
45
46
+ @pytest.mark.skipif(sys.version_info < (3, 6), reason="requires python3.6")
47
def test_basic_example_ipynb(self):
48
dir_path = os.path.dirname(os.path.realpath(__file__))
- nb, errors = self._notebook_run(os.path.join(dir_path,
- 'basic_example.ipynb'))
49
- assert errors == []
+ nb, errors = self._notebook_run(
50
+ os.path.join(dir_path, 'basic_example.ipynb'))
51
+ assert errors == []
0 commit comments