Home
last modified time | relevance | path

Searched refs:method_and_var (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_scope.py133 method_and_var = "var"
135 def method_and_var(self): member in ScopeTests.testFreeVarInMethod.test.Test
138 return method_and_var
147 self.assertEqual(t.method_and_var(), "method")
150 method_and_var = "var"
153 def method_and_var(self): member in ScopeTests.testFreeVarInMethod.Test
156 return method_and_var
164 self.assertEqual(t.method_and_var(), "method")
/external/python/cpython3/Lib/test/
Dtest_scope.py135 method_and_var = "var"
137 def method_and_var(self): member in ScopeTests.testFreeVarInMethod.test.Test
140 return method_and_var
149 self.assertEqual(t.method_and_var(), "method")
152 method_and_var = "var"
155 def method_and_var(self): member in ScopeTests.testFreeVarInMethod.Test
158 return method_and_var
166 self.assertEqual(t.method_and_var(), "method")