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.
verify
1 parent 0ef7932 commit a1df2ebCopy full SHA for a1df2eb
tests/venv/py2-with-kernel-requirements/verify
@@ -1,7 +1,19 @@
1
#!/usr/bin/env python2
2
+import os
3
import sys
4
5
print(sys.version_info)
6
assert sys.version_info[:2] == (2, 7)
7
8
import numpy
9
+
10
+try:
11
+ import nbgitpuller
12
+except ImportError:
13
+ pass
14
+else:
15
+ raise Exception("'nbgitpuller' shouldn't have been installed from requirements3.txt")
16
17
+# Python 3 is the executable used for the notebook server, this should
18
+# have nbgitpuller installed
19
+os.system("python3 -c 'import nbgitpuller'")
0 commit comments