""" This is a test case for pyfakefs issue #708. It tests the usage of an own module with the same name as a patched filesystem module, the content is taken from the issue. """ class InputStream: def __init__(self, name): self.name = name def read(self): with open(self.name, "r") as f: return f.readline()
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 0 B | 0644 |
|
conftest.py | File | 1.3 KB | 0644 |
|
example.py | File | 652 B | 0644 |
|
io.py | File | 346 B | 0644 |
|
pytest_check_failed_plugin_test.py | File | 658 B | 0644 |
|
pytest_doctest_test.py | File | 1.39 KB | 0644 |
|
pytest_fixture_param_test.py | File | 1.87 KB | 0644 |
|
pytest_fixture_test.py | File | 1.91 KB | 0644 |
|
pytest_module_fixture_test.py | File | 894 B | 0644 |
|
pytest_plugin_failing_helper.py | File | 129 B | 0644 |
|
pytest_plugin_test.py | File | 2.32 KB | 0644 |
|