kopia lustrzana https://github.com/jupyterhub/repo2docker
14 wiersze
308 B
Python
Executable File
14 wiersze
308 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 Pipfile but not in the Pipfile.lock."
|
|
)
|