MCPcopy Index your code
hub / github.com/python/cpython / test_stateless

Method test_stateless

Lib/test/test_crossinterp.py:1081–1086  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1079 MODE = 'func'
1080
1081 def test_stateless(self):
1082 self.assert_roundtrip_equal([
1083 *defs.STATELESS_FUNCTIONS,
1084 # Generators can be stateless too.
1085 *defs.FUNCTION_LIKE,
1086 ])
1087
1088 def test_not_stateless(self):
1089 self.assert_not_shareable([

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected