MCPcopy Create free account
hub / github.com/celery/celery / test_function

Method test_function

t/unit/app/test_trace.py:87–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 """Test traceback_clear() without exc argument uses sys.exc_info()."""
86 try:
87 def test_function():
88 local_var = "test" * 1000 # noqa: F841
89 raise RuntimeError("Test exception")
90
91 test_function()
92 except Exception:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected