Download .venv/Lib/site-packages/numpy/tests/test__all__.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/tests/test__all__.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/numpy/tests/test__all__.py
-
curl -L -o test__all__.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/numpy/tests/test__all__.py
230 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 | |