Lines Matching refs:fspath
4232 self.assertEqual(os.fspath(entry), os.path.join(self.path, 'file.txt'))
4237 fspath = os.fspath(bytes_entry)
4238 self.assertIsInstance(fspath, bytes)
4239 self.assertEqual(fspath,
4351 self.assertEqual(os.fspath(entry), entry.name)
4434 fspath = staticmethod(os.fspath) variable in TestPEP519
4438 self.assertEqual(b, self.fspath(b))
4442 self.assertEqual(s, self.fspath(s))
4448 self.assertEqual(p, self.fspath(pathlike))
4453 self.assertEqual('#feelthegil', self.fspath(FakePath('#feelthegil')))
4460 self.assertRaises(TypeError, self.fspath, o)
4463 self.assertRaises(TypeError, self.fspath)
4467 self.assertRaises(TypeError, self.fspath, FakePath(42))
4471 self.assertRaises(TypeError, self.fspath, c())
4473 self.assertRaises(ZeroDivisionError, self.fspath,
4527 fspath = staticmethod(os._fspath) variable in TestPEP519PurePython