Download data/tests/test_exceptions.py from introvoyz042/haddock3: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/datasets/introvoyz042/haddock3/resolve/main/data/tests/test_exceptions.py
- Command line
-
hf download hf://datasets/introvoyz042/haddock3/data/tests/test_exceptions.py
-
curl -L -o test_exceptions.py https://huggingface.co/datasets/introvoyz042/haddock3/resolve/main/data/tests/test_exceptions.py
232 Bytes
| """Test exceptions module.""" | |
| import pytest | |
| from haddock.core.exceptions import CNSRunningError | |
| def test_cns_error(): | |
| """Test CNS error.""" | |
| with pytest.raises(CNSRunningError): | |
| raise CNSRunningError(b'something') | |