diff --git a/Lib/heapq.py b/Lib/heapq.py index 9649da251f2a83..8015f987530e47 100644 --- a/Lib/heapq.py +++ b/Lib/heapq.py @@ -595,9 +595,3 @@ def nlargest(n, iterable, key=None): from _heapq import _heappop_max except ImportError: pass - - -if __name__ == "__main__": - - import doctest # pragma: no cover - print(doctest.testmod()) # pragma: no cover