Home
last modified time | relevance | path

Searched refs:__fspath__ (Results 1 – 25 of 31) sorted by relevance

12

/external/fonttools/Tests/ufoLib/
DUFOZ_test.py61 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/
Dcompat.py179 path = as_str_any(path.__fspath__())
200 path = path.__fspath__()
Dcompat_internal.py35 path = as_str_any(path.__fspath__())
/external/tensorflow/tensorflow/python/keras/utils/
Dio_utils_test.py52 def __fspath__(self): member in TestIOUtils.test_path_to_string.PathLikeDummy
/external/python/mock/mock/tests/
Dtestmagicmethods.py368 self.assertRaises(AttributeError, lambda: mock.__fspath__)
370 expected_path = mock.__fspath__()
373 mock.__fspath__.assert_called_once()
/external/python/pyfakefs/pyfakefs/
Dfake_scandir.py113 def __fspath__(self): member in DirEntry
/external/fonttools/Lib/fontTools/misc/
DmacRes.py50 path = path.__fspath__()
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmagicmethods.py328 expected_path = mock.__fspath__()
332 mock.__fspath__.assert_called_once()
/external/python/cpython3/Lib/
Dos.py1043 path_repr = path_type.__fspath__(path)
1069 def __fspath__(self): member in PathLike
Dpathlib.py741 def __fspath__(self): member in PurePath
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a4.rst136 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
D3.6.0a3.rst133 Update os.fspath()/PyOS_FSPath() to check the return value of __fspath__()
D3.8.0a2.rst27 The error message emitted when returning invalid types from ``__fspath__``
/external/python/mock/
DCHANGELOG.rst55 ``__fspath__`` method (from :class:`os.PathLike`).
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py1120 path = path.__fspath__()
1130 path = path.__fspath__()
/external/fonttools/Lib/fontTools/ufoLib/
D__init__.py208 path = path.__fspath__()
900 path = path.__fspath__()
DglifLib.py166 path = path.__fspath__()
/external/python/cpython3/Lib/sqlite3/test/
Ddbapi.py168 def __fspath__(self): member in ConnectionTests.CheckOpenWithPathLikeObject.Path
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py39 def __fspath__(self): member in PathLike
/external/python/cpython3/Doc/c-api/
Dsys.rst13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
/external/python/cpython3/Doc/library/
Dtest.rst1409 Simple :term:`path-like object`. It implements the :meth:`__fspath__`
1411 it will be raised in :meth:`!__fspath__`.
Dunittest.mock.rst2030 * File system path representation: ``__fspath__``
2034 Added support for :func:`os.PathLike.__fspath__`.
/external/python/cpython3/Tools/c-analyzer/
DTODO329 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__.py2903 def __fspath__(self): member in FakePath
/external/python/cpython3/Lib/test/
Dtest_pathlib.py397 self._check_str(p.__fspath__(), ('a/b',))

12