repo2docker/tests/venv/default/verify

10 wiersze
248 B
Python
Executable File

#!/usr/bin/env python
# Verify that the default just provides a py3 environment with jupyter
import sys
assert sys.version_info[:2] == (3, 10), sys.version
import jupyter
with open("/tmp/appendix") as f:
assert f.read().strip() == "appendix"