MCPcopy Create free account
hub / github.com/pallets/flask / reset_path

Function reset_path

tests/test_cli.py:171–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 original_path = sys.path[:]
170
171 def reset_path():
172 sys.path[:] = original_path
173
174 request.addfinalizer(reset_path)
175

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected