summaryrefslogtreecommitdiff
path: root/numpy/tests/test__all__.py
blob: e44bda3d58ab92e614905f6f20f102242d6d6b0c (plain)
1
2
3
4
5
6
7
8
9

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