Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_inspect.py1773 def _generatorstate(self): member in TestGetGeneratorState
1777 self.assertEqual(self._generatorstate(), inspect.GEN_CREATED)
1781 self.assertEqual(self._generatorstate(), inspect.GEN_SUSPENDED)
1786 self.assertEqual(self._generatorstate(), inspect.GEN_CLOSED)
1791 self.assertEqual(self._generatorstate(), inspect.GEN_CLOSED)
1800 self.assertEqual(self._generatorstate(), inspect.GEN_RUNNING)
1802 self.assertEqual(self._generatorstate(), inspect.GEN_RUNNING)