repo2docker/tests/pipfile/pipfile-lock/verify

14 wiersze
308 B
Plaintext

#!/usr/bin/env python
2019-04-21 15:32:46 +00:00
import pypi_pkg_test
import there
2019-04-21 15:32:46 +00:00
try:
import numpy
except ImportError:
# We want an ImportError to be thrown for this test to pass
pass
else:
2019-06-17 22:38:06 +00:00
raise Exception(
"'numpy' shouldn't have been installed! It was listed in Pipfile but not in the Pipfile.lock."
)