HomeSort by relevance Sort by last modified time
    Searched full:assertis (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_bool.py 112 self.assertIs(a&b, bool(int(a)&int(b)))
113 self.assertIs(a|b, bool(int(a)|int(b)))
114 self.assertIs(a^b, bool(int(a)^int(b)))
128 self.assertIs(1==1, True)
129 self.assertIs(1==0, False)
130 self.assertIs(0<1, True)
131 self.assertIs(1<0, False)
132 self.assertIs(0<=0, True)
133 self.assertIs(1<=0, False)
134 self.assertIs(1>0, True
    [all...]
test_richcmp.py 287 self.assertIs(x<x, False)
288 self.assertIs(x<=x, True)
289 self.assertIs(x==x, True)
290 self.assertIs(x!=x, False)
291 self.assertIs(x>x, False)
292 self.assertIs(x>=x, True)
294 self.assertIs(x<y, True)
295 self.assertIs(x<=y, True)
296 self.assertIs(x==y, False)
297 self.assertIs(x!=y, True
    [all...]
test_posixpath.py 73 self.assertIs(posixpath.isabs(""), False)
74 self.assertIs(posixpath.isabs("/"), True)
75 self.assertIs(posixpath.isabs("/foo"), True)
76 self.assertIs(posixpath.isabs("/foo/bar"), True)
77 self.assertIs(posixpath.isabs("foo/bar"), False)
94 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
99 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
102 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
104 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
105 self.assertIs(posixpath.exists(test_support.TESTFN + "2"), False
    [all...]
test_genericpath.py 109 self.assertIs(self.pathmodule.exists(test_support.TESTFN), False)
114 self.assertIs(self.pathmodule.exists(test_support.TESTFN), True)
116 self.assertIs(self.pathmodule.lexists(test_support.TESTFN),
124 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), False)
129 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), False)
132 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), True)
141 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), False)
146 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), True)
149 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), False)
test_runpy.py 46 self.assertIs(d["__name__"], None)
47 self.assertIs(d["__file__"], None)
48 self.assertIs(d["__loader__"], None)
49 self.assertIs(d["__package__"], None)
50 self.assertIs(d["run_argv0"], saved_argv0)
52 self.assertIs(sys.argv[0], saved_argv0)
69 self.assertIs(d2["initial"], initial)
72 self.assertIs(d2["__name__"], name)
75 self.assertIs(d2["__file__"], file)
76 self.assertIs(d2["run_argv0"], file
    [all...]
test_funcattrs.py 64 self.assertIs(self.b.func_globals, globals())
269 self.assertIs(d, self.b.__dict__)
270 self.assertIs(d, self.b.func_dict)
272 self.assertIs(d, self.f.a.im_func.__dict__)
273 self.assertIs(d, self.f.a.__dict__)
274 self.assertIs(d, self.fi.a.im_func.__dict__)
275 self.assertIs(d, self.fi.a.__dict__)
test_dict.py 26 self.assertIs(not {}, True)
28 self.assertIs(bool({}), False)
29 self.assertIs(bool({1: 2}), True)
273 self.assertIs(d.get('c'), None)
276 self.assertIs(d.get('c'), None)
286 self.assertIs(d.setdefault('key0'), None)
288 self.assertIs(d.setdefault('key0'), None)
578 self.assertIs(ref(), None, "Cycle was not collected")
test_weakref.py 750 self.assertIs(r(), None)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_bool.py 112 self.assertIs(a&b, bool(int(a)&int(b)))
113 self.assertIs(a|b, bool(int(a)|int(b)))
114 self.assertIs(a^b, bool(int(a)^int(b)))
128 self.assertIs(1==1, True)
129 self.assertIs(1==0, False)
130 self.assertIs(0<1, True)
131 self.assertIs(1<0, False)
132 self.assertIs(0<=0, True)
133 self.assertIs(1<=0, False)
134 self.assertIs(1>0, True
    [all...]
test_richcmp.py 287 self.assertIs(x<x, False)
288 self.assertIs(x<=x, True)
289 self.assertIs(x==x, True)
290 self.assertIs(x!=x, False)
291 self.assertIs(x>x, False)
292 self.assertIs(x>=x, True)
294 self.assertIs(x<y, True)
295 self.assertIs(x<=y, True)
296 self.assertIs(x==y, False)
297 self.assertIs(x!=y, True
    [all...]
test_posixpath.py 73 self.assertIs(posixpath.isabs(""), False)
74 self.assertIs(posixpath.isabs("/"), True)
75 self.assertIs(posixpath.isabs("/foo"), True)
76 self.assertIs(posixpath.isabs("/foo/bar"), True)
77 self.assertIs(posixpath.isabs("foo/bar"), False)
94 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
99 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
102 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
104 self.assertIs(posixpath.islink(test_support.TESTFN + "2"), True)
105 self.assertIs(posixpath.exists(test_support.TESTFN + "2"), False
    [all...]
test_genericpath.py 109 self.assertIs(self.pathmodule.exists(test_support.TESTFN), False)
114 self.assertIs(self.pathmodule.exists(test_support.TESTFN), True)
116 self.assertIs(self.pathmodule.lexists(test_support.TESTFN),
124 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), False)
129 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), False)
132 self.assertIs(self.pathmodule.isdir(test_support.TESTFN), True)
141 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), False)
146 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), True)
149 self.assertIs(self.pathmodule.isfile(test_support.TESTFN), False)
test_runpy.py 46 self.assertIs(d["__name__"], None)
47 self.assertIs(d["__file__"], None)
48 self.assertIs(d["__loader__"], None)
49 self.assertIs(d["__package__"], None)
50 self.assertIs(d["run_argv0"], saved_argv0)
52 self.assertIs(sys.argv[0], saved_argv0)
69 self.assertIs(d2["initial"], initial)
72 self.assertIs(d2["__name__"], name)
75 self.assertIs(d2["__file__"], file)
76 self.assertIs(d2["run_argv0"], file
    [all...]
test_funcattrs.py 64 self.assertIs(self.b.func_globals, globals())
269 self.assertIs(d, self.b.__dict__)
270 self.assertIs(d, self.b.func_dict)
272 self.assertIs(d, self.f.a.im_func.__dict__)
273 self.assertIs(d, self.f.a.__dict__)
274 self.assertIs(d, self.fi.a.im_func.__dict__)
275 self.assertIs(d, self.fi.a.__dict__)
test_dict.py 26 self.assertIs(not {}, True)
28 self.assertIs(bool({}), False)
29 self.assertIs(bool({1: 2}), True)
273 self.assertIs(d.get('c'), None)
276 self.assertIs(d.get('c'), None)
286 self.assertIs(d.setdefault('key0'), None)
288 self.assertIs(d.setdefault('key0'), None)
578 self.assertIs(ref(), None, "Cycle was not collected")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_wintypes.py 19 self.assertIs(vb.value, False)
21 self.assertIs(vb.value, True)
23 self.assertIs(vb.value, True)
34 self.assertIs(vb.value, True)
38 self.assertIs(vb.value, True)
40 self.assertIs(vb.value, False)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_wintypes.py 19 self.assertIs(vb.value, False)
21 self.assertIs(vb.value, True)
23 self.assertIs(vb.value, True)
34 self.assertIs(vb.value, True)
38 self.assertIs(vb.value, True)
40 self.assertIs(vb.value, False)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_speedups.py 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_speedups.py 7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
12 self.assertIs(self.json.encoder.encode_basestring_ascii,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
test_result.py 391 self.assertIs(real_out, sys.stdout)
392 self.assertIs(real_err, sys.stderr)
396 self.assertIs(real_out, sys.stdout)
397 self.assertIs(real_err, sys.stderr)
408 self.assertIs(real_out, sys.stdout)
409 self.assertIs(real_err, sys.stderr)
437 self.assertIs(sys.stdout, result._original_stdout)
438 self.assertIs(sys.stderr, result._original_stderr)
494 self.assertIs(test, self)
test_program.py 199 self.assertIs(program.result, RESULT)
213 self.assertIs(program.result, RESULT)
231 self.assertIs(program.result, RESULT)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/
test_result.py 391 self.assertIs(real_out, sys.stdout)
392 self.assertIs(real_err, sys.stderr)
396 self.assertIs(real_out, sys.stdout)
397 self.assertIs(real_err, sys.stderr)
408 self.assertIs(real_out, sys.stdout)
409 self.assertIs(real_err, sys.stderr)
437 self.assertIs(sys.stdout, result._original_stdout)
438 self.assertIs(sys.stderr, result._original_stderr)
494 self.assertIs(test, self)
test_program.py 199 self.assertIs(program.result, RESULT)
213 self.assertIs(program.result, RESULT)
231 self.assertIs(program.result, RESULT)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
factory.py 201 self.assertIs(type(row[0]), unicode)
208 self.assertIs(type(row[0]), str)
215 self.assertIs(type(row[0]), str)
224 self.assertIs(type(row[0]), unicode)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
factory.py 201 self.assertIs(type(row[0]), unicode)
208 self.assertIs(type(row[0]), str)
215 self.assertIs(type(row[0]), str)
224 self.assertIs(type(row[0]), unicode)

Completed in 822 milliseconds

1 2 3 4