Download venv/lib/python3.13/site-packages/numpy/tests/test__all__.py from dheeena/MRI: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/tests/test__all__.py
- Command line
-
hf download hf://dheeena/MRI/venv/lib/python3.13/site-packages/numpy/tests/test__all__.py
-
curl -L -o test__all__.py https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/tests/test__all__.py
222 Bytes
| import collections | |
| import numpy as np | |
| def test_no_duplicates_in_np__all__(): | |
| # Regression test for gh-10198. | |
| dups = {k: v for k, v in collections.Counter(np.__all__).items() if v > 1} | |
| assert len(dups) == 0 | |