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
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fef19436e97be2e82d392da6150632a08d5a30f03bf41b36118ae59c417b6c |
|
MD5 | 7709e3d2078207abe023eedc4152c118 |
|
BLAKE2b-256 | a9205766a81059016cae71923355b3e7ab9e797883aec8c0b88b715254071333 |
Close
Hashes for raise_module_not_found_error-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9a1476426562008f9126cf81ae1afba5a0b458b4580ba02916477d71b0648f |
|
MD5 | fd7bc50395f57a30056ac2fe9cb83f6d |
|
BLAKE2b-256 | 1250435b0b600c63930014441be71391bf20bb3ab676229b484aeae02bfb29b4 |