Skip to main content

Raises ModuleNotFoundError on import

Project description

Raise Module Not Found

Raise Module Not Found 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.0.tar.gz (2.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page