Home
last modified time | relevance | path

Searched refs:pathmodule (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_genericpath.py28 getattr(self.pathmodule, attr)()
30 .format(self.pathmodule.__name__, attr))
33 commonprefix = self.pathmodule.commonprefix
104 self.assertEqual(self.pathmodule.getsize(filename), 5)
108 self.assertEqual(self.pathmodule.getsize(filename), 12)
124 self.pathmodule.getctime(filename),
125 self.pathmodule.getmtime(filename)
133 self.assertIs(self.pathmodule.exists(filename), False)
134 self.assertIs(self.pathmodule.exists(bfilename), False)
138 self.assertIs(self.pathmodule.exists(filename), True)
[all …]
Dtest_macpath.py149 pathmodule = macpath variable in MacCommonTest
Dtest_ntpath.py460 pathmodule = ntpath variable in NtCommonTest
Dtest_posixpath.py609 pathmodule = posixpath variable in PosixCommonTest
/external/python/cpython2/Lib/test/
Dtest_genericpath.py21 pathmodule = genericpath variable in GenericTest
29 getattr(self.pathmodule, attr)()
31 .format(self.pathmodule.__name__, attr))
34 commonprefix = self.pathmodule.commonprefix
80 self.assertEqual(self.pathmodule.getsize(test_support.TESTFN), 3)
100 self.pathmodule.getctime(test_support.TESTFN),
101 self.pathmodule.getmtime(test_support.TESTFN)
109 self.assertIs(self.pathmodule.exists(test_support.TESTFN), False)
114 self.assertIs(self.pathmodule.exists(test_support.TESTFN), True)
115 if not self.pathmodule == genericpath:
[all …]
Dtest_macpath.py70 pathmodule = macpath variable in MacCommonTest
Dtest_ntpath.py310 pathmodule = ntpath variable in NtCommonTest
Dtest_posixpath.py494 pathmodule = posixpath variable in PosixCommonTest