Skip to main content

Raises ModuleNotFoundError on import

Project description

Raise Module Not Found Error

Raise Module Not Found Error is a "library" that raises a ModuleNotFoundError when an attempt is made to import it.

Example usage

>>> import raise_module_not_found_error
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "installation/path/raise_module_not_found_error.py", line 2, in <module>
    raise ModuleNotFoundError("Ceci n'est pas un module")
ModuleNotFoundError: Ceci n'est pas un module

Running tests

Simply run python -m unittest discover in the project root.

This is completely useless, isn't it?

yes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raise-module-not-found-error-1.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page