ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux server378.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests/ |
| Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests/unhashable.py |
import sys
import types
class Unhashable(types.ModuleType):
"""
Unhashable module, used for regression test for #923.
"""
@property
def Unhashable(self):
return self
def __eq__(self, other):
raise NotImplementedError("Cannot compare unhashable")
if sys.modules[__name__] is not Unhashable:
sys.modules[__name__] = Unhashable("unhashable")