Home | History | Annotate | Download | only in test

Lines Matching defs:Test

4 from test.support import check_syntax_error, cpython_only
133 def test():
135 class Test:
138 def test(self):
144 return Test()
146 t = test()
147 self.assertEqual(t.test(), "var")
152 class Test:
156 def test(self):
163 t = Test()
164 self.assertEqual(t.test(), "var")
292 # test for bug #1501934: incorrect LOAD/STORE_GLOBAL generation
430 def test(x):
438 self.assertEqual(test(6)(2), 8)
440 self.assertEqual(test(3)(2), 5)
469 # This test verifies that calling locals() does not pollute
599 # Test what happens when a finalizer accesses
645 # This test verifies that a global statement in the first