/external/fonttools/Tests/ufoLib/ |
D | UFOZ_test.py | 61 def __fspath__(self): member in test_pathlike.PathLike 67 assert reader._path == path.__fspath__() 70 assert writer._path == path.__fspath__()
|
/external/tensorflow/tensorflow/python/util/ |
D | compat.py | 179 path = as_str_any(path.__fspath__()) 200 path = path.__fspath__()
|
D | compat_internal.py | 35 path = as_str_any(path.__fspath__())
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | io_utils_test.py | 52 def __fspath__(self): member in TestIOUtils.test_path_to_string.PathLikeDummy
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 368 self.assertRaises(AttributeError, lambda: mock.__fspath__) 370 expected_path = mock.__fspath__() 373 mock.__fspath__.assert_called_once()
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_scandir.py | 113 def __fspath__(self): member in DirEntry
|
/external/fonttools/Lib/fontTools/misc/ |
D | macRes.py | 50 path = path.__fspath__()
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 328 expected_path = mock.__fspath__() 332 mock.__fspath__.assert_called_once()
|
/external/python/cpython3/Lib/ |
D | os.py | 1043 path_repr = path_type.__fspath__(path) 1069 def __fspath__(self): member in PathLike
|
D | pathlib.py | 741 def __fspath__(self): member in PurePath
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 136 Add :pep:`519`/__fspath__() support to the os and os.path modules. Includes 468 Fix a segfault when os.fspath() called an __fspath__() method that raised an
|
D | 3.6.0a3.rst | 133 Update os.fspath()/PyOS_FSPath() to check the return value of __fspath__()
|
D | 3.8.0a2.rst | 27 The error message emitted when returning invalid types from ``__fspath__``
|
/external/python/mock/ |
D | CHANGELOG.rst | 55 ``__fspath__`` method (from :class:`os.PathLike`).
|
/external/fonttools/Lib/fontTools/designspaceLib/ |
D | __init__.py | 1120 path = path.__fspath__() 1130 path = path.__fspath__()
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | __init__.py | 208 path = path.__fspath__() 900 path = path.__fspath__()
|
D | glifLib.py | 166 path = path.__fspath__()
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | dbapi.py | 168 def __fspath__(self): member in ConnectionTests.CheckOpenWithPathLikeObject.Path
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io_test.py | 39 def __fspath__(self): member in PathLike
|
/external/python/cpython3/Doc/c-api/ |
D | sys.rst | 13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 1409 Simple :term:`path-like object`. It implements the :meth:`__fspath__` 1411 it will be raised in :meth:`!__fspath__`.
|
D | unittest.mock.rst | 2030 * File system path representation: ``__fspath__`` 2034 Added support for :func:`os.PathLike.__fspath__`.
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 329 Modules/posixmodule.c:PyOS_FSPath():PyId___fspath__ _Py_IDENTIFIER(__fspath__) 330 Modules/posixmodule.c:path_converter():PyId___fspath__ _Py_IDENTIFIER(__fspath__)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 2903 def __fspath__(self): member in FakePath
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 397 self._check_str(p.__fspath__(), ('a/b',))
|