# Bug report ### Bug description: Code [here](https://github.com/python/cpython/blob/main/Lib/test/test_importlib/test_discover.py#L14C14): ```python raise NotImplemented ``` Should be `NotImplementedError` ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-146661 <!-- /gh-linked-prs -->
Bug report
Bug description:
Code here:
Should be
NotImplementedErrorCPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
NotImplementedErrorinstead ofNotImplementedintest_discover#146661