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
File details
Details for the file raise-module-not-found-error-1.0.1.tar.gz
.
File metadata
- Download URL: raise-module-not-found-error-1.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fef19436e97be2e82d392da6150632a08d5a30f03bf41b36118ae59c417b6c |
|
MD5 | 7709e3d2078207abe023eedc4152c118 |
|
BLAKE2b-256 | a9205766a81059016cae71923355b3e7ab9e797883aec8c0b88b715254071333 |
File details
Details for the file raise_module_not_found_error-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: raise_module_not_found_error-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9a1476426562008f9126cf81ae1afba5a0b458b4580ba02916477d71b0648f |
|
MD5 | fd7bc50395f57a30056ac2fe9cb83f6d |
|
BLAKE2b-256 | 1250435b0b600c63930014441be71391bf20bb3ab676229b484aeae02bfb29b4 |