test__all__.py 221 B

123456789
  1. import collections
  2. import numpy as np
  3. def test_no_duplicates_in_np__all__():
  4. # Regression test for gh-10198.
  5. dups = {k: v for k, v in collections.Counter(np.__all__).items() if v > 1}
  6. assert len(dups) == 0