kopia lustrzana https://github.com/jupyterhub/repo2docker
12 wiersze
318 B
Python
Executable File
12 wiersze
318 B
Python
Executable File
#!/usr/bin/env python
|
|
import pypi_pkg_test
|
|
import there
|
|
|
|
try:
|
|
import numpy
|
|
except ImportError:
|
|
# We want an ImportError to be thrown for this test to pass
|
|
pass
|
|
else:
|
|
raise Exception("'numpy' shouldn't have been installed! It was listed in requirements.txt but not in the Pipfile that has precedence.")
|