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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for raise-module-not-found-error-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c35cbcb3a5afdd62841b32b5e66f16d57bc0aaa2982f2fe9ae156879b1245d4d |
|
MD5 | e34ab7b0fd33706a3c54062b027c4937 |
|
BLAKE2b-256 | b83011e9c8d8c7ec66ec7d496fccd5b4f39e7a7bf31a71abadd4dc59e42409cc |
Close
Hashes for raise_module_not_found_error-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d42a6d6c9a2398bfd084f5fa7c5b9061cd5f345c1d0e0a98335dd01f27772d |
|
MD5 | 9bd830589e8fff3f540302a6cdd7bbe5 |
|
BLAKE2b-256 | 6aed51bfbb8ddc0737212351c9d64490eddc201b47fadba99bc7f9cabfa30a17 |