repo2docker/tests/pipfile/pipfile-lock/verify

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."
)