• Home
  • Raw
  • Download

Lines Matching refs:assertIs

116         self.assertIs(posixpath.isabs(""), False)
117 self.assertIs(posixpath.isabs("/"), True)
118 self.assertIs(posixpath.isabs("/foo"), True)
119 self.assertIs(posixpath.isabs("/foo/bar"), True)
120 self.assertIs(posixpath.isabs("foo/bar"), False)
122 self.assertIs(posixpath.isabs(b""), False)
123 self.assertIs(posixpath.isabs(b"/"), True)
124 self.assertIs(posixpath.isabs(b"/foo"), True)
125 self.assertIs(posixpath.isabs(b"/foo/bar"), True)
126 self.assertIs(posixpath.isabs(b"foo/bar"), False)
155 self.assertIs(posixpath.islink(support.TESTFN + "1"), False)
156 self.assertIs(posixpath.lexists(support.TESTFN + "2"), False)
160 self.assertIs(posixpath.islink(support.TESTFN + "1"), False)
164 self.assertIs(posixpath.islink(support.TESTFN + "2"), True)
166 self.assertIs(posixpath.islink(support.TESTFN + "2"), True)
167 self.assertIs(posixpath.exists(support.TESTFN + "2"), False)
168 self.assertIs(posixpath.lexists(support.TESTFN + "2"), True)
170 self.assertIs(posixpath.islink(support.TESTFN + "\udfff"), False)
171 self.assertIs(posixpath.islink(os.fsencode(support.TESTFN) + b"\xff"), False)
172 self.assertIs(posixpath.islink(support.TESTFN + "\x00"), False)
173 self.assertIs(posixpath.islink(os.fsencode(support.TESTFN) + b"\x00"), False)
176 self.assertIs(posixpath.ismount("/"), True)
177 self.assertIs(posixpath.ismount(b"/"), True)
181 self.assertIs(posixpath.ismount(ABSTFN), False)
184 self.assertIs(posixpath.ismount(ABSTFN), False)
188 self.assertIs(posixpath.ismount('/\udfff'), False)
189 self.assertIs(posixpath.ismount(b'/\xff'), False)
190 self.assertIs(posixpath.ismount('/\x00'), False)
191 self.assertIs(posixpath.ismount(b'/\x00'), False)
199 self.assertIs(posixpath.ismount(ABSTFN), False)
217 self.assertIs(posixpath.ismount(ABSTFN), True)
239 self.assertIs(posixpath.ismount(ABSTFN), True)