diff --git a/src/numpy-stubs/testing/__init__.pyi b/src/numpy-stubs/testing/__init__.pyi index c42869bf..6dc98930 100644 --- a/src/numpy-stubs/testing/__init__.pyi +++ b/src/numpy-stubs/testing/__init__.pyi @@ -1,4 +1,4 @@ -from unittest import TestCase as _TestCase +from unittest import TestCase from . import overrides from ._private.utils import ( @@ -104,7 +104,3 @@ __all__ = [ "temppath", "verbose", ] - -# workaround for incorrect typeshed definition -class TestCase(_TestCase): - def __init_subclass__(cls, *args: object, **kwargs: object) -> None: ...