Lines Matching refs:__classcell__
209 # __classcell__ is injected into the class namespace by the compiler
214 self.assertNotIn("__classcell__", namespace_snapshot)
217 # __classcell__ is the exact cell reference to be populated by
224 class_cell = namespace_snapshot["__classcell__"]
230 WithClassRef.__classcell__
235 # We test that case here by forcibly deleting __classcell__
238 namespace.pop('__classcell__', None)
247 # __class__ was not set, and asking if __classcell__ was propagated
249 expected_error = '__class__ not set.*__classcell__ propagated'
257 # Overwriting __classcell__ with nonsense is explicitly prohibited
260 namespace['__classcell__'] = cell