mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
The MagicMock class supports many magic methods, but not __fspath__. To ease testing with modules such as os.path, this function is now supported by default. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| support.py | ||
| testcallable.py | ||
| testhelpers.py | ||
| testmagicmethods.py | ||
| testmock.py | ||
| testpatch.py | ||
| testsealable.py | ||
| testsentinel.py | ||
| testwith.py | ||