Lines Matching refs:assertFalse
43 self.assertFalse(self.is_tuple("(a)"))
44 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
59 self.assertFalse(self.is_list("[]+[]"))
130 self.assertFalse(n)
132 self.assertFalse(n)
159 self.assertFalse(self.find_binding("a", "foo = a"))
160 self.assertFalse(self.find_binding("a", "foo = (a, b, c)"))
167 self.assertFalse(self.find_binding("a", "(foo, b) = (b, a)"))
168 self.assertFalse(self.find_binding("a", "(foo, (b, c)) = (a, b, c)"))
175 self.assertFalse(self.find_binding("a", "[foo, b] = (b, a)"))
176 self.assertFalse(self.find_binding("a", "[foo, [b, c]] = (a, b, c)"))
179 self.assertFalse(self.find_binding("a", "foo.a = 5"))
180 self.assertFalse(self.find_binding("a", "foo[a] = 5"))
181 self.assertFalse(self.find_binding("a", "foo(a) = 5"))
182 self.assertFalse(self.find_binding("a", "foo(a, b) = 5"))
187 self.assertFalse(self.find_binding("a", "import b"))
188 self.assertFalse(self.find_binding("a", "import b, c, d"))
196 self.assertFalse(self.find_binding("a", "from a import b"))
197 self.assertFalse(self.find_binding("a", "from a.d import b"))
198 self.assertFalse(self.find_binding("a", "from d.a import b"))
203 self.assertFalse(self.find_binding("a", "import a as f"))
204 self.assertFalse(self.find_binding("a", "import b, c as f, d as e"))
211 self.assertFalse(self.find_binding("a", "from a import b as t"))
212 self.assertFalse(self.find_binding("a", "from a.d import b as t"))
213 self.assertFalse(self.find_binding("a", "from d.a import b as t"))
218 self.assertFalse(self.find_binding("b", "import b", "b"))
219 self.assertFalse(self.find_binding("b", "import b, c, d", "c"))
229 self.assertFalse(self.find_binding("a", "from a import b", "a"))
230 self.assertFalse(self.find_binding("a", "from a.d import b", "a.d"))
231 self.assertFalse(self.find_binding("a", "from d.a import b", "a.d"))
232 self.assertFalse(self.find_binding("a", "from x.y import *", "a.b"))
235 self.assertFalse(self.find_binding("a", "import b.c as a", "b.c"))
236 self.assertFalse(self.find_binding("a", "import a as f", "f"))
237 self.assertFalse(self.find_binding("a", "import a as f", "a"))
243 self.assertFalse(self.find_binding("a", "from x import b as a", "x"))
244 self.assertFalse(self.find_binding("a", "from x import g as a, d as b", "x"))
245 self.assertFalse(self.find_binding("a", "from x.b import t as a", "x.b"))
246 self.assertFalse(self.find_binding("a", "from x.b import g as a, d", "x.b"))
247 self.assertFalse(self.find_binding("a", "from a import b as t", "a"))
248 self.assertFalse(self.find_binding("a", "from a import b as t", "b"))
249 self.assertFalse(self.find_binding("a", "from a import b as t", "t"))
255 self.assertFalse(self.find_binding("a", "def d(b, (c, a), e): pass"))
256 self.assertFalse(self.find_binding("a", "def d(a=7): pass"))
257 self.assertFalse(self.find_binding("a", "def d(a): pass"))
258 self.assertFalse(self.find_binding("a", "def d(): a = 7"))
264 self.assertFalse(self.find_binding("a", s))
271 self.assertFalse(self.find_binding("a", "class d: pass"))
272 self.assertFalse(self.find_binding("a", "class d(a): pass"))
273 self.assertFalse(self.find_binding("a", "class d(b, a=7): pass"))
274 self.assertFalse(self.find_binding("a", "class d(b, *a): pass"))
275 self.assertFalse(self.find_binding("a", "class d(b, **a): pass"))
276 self.assertFalse(self.find_binding("a", "class d: a = 7"))
282 self.assertFalse(self.find_binding("a", s))
291 self.assertFalse(self.find_binding("a", "for c in a: pass"))
334 self.assertFalse(self.find_binding("a", s))
340 self.assertFalse(self.find_binding("a", s))
344 self.assertFalse(self.find_binding("a", "if a in r: d = e"))
357 self.assertFalse(self.find_binding("a", s))
361 self.assertFalse(self.find_binding("a", "while a in r: d = e"))
374 self.assertFalse(self.find_binding("a", s))
405 self.assertFalse(self.find_binding("a", s))
467 self.assertFalse(self.find_binding("a", s))
482 self.assertFalse(self.find_binding("a", s))
506 self.assertFalse(self.find_binding("a", s))
515 self.assertFalse(self.find_binding("a", s))
550 self.assertFalse(self.find_binding("a", s))