Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 388 Bytes

File metadata and controls

1 lines (1 loc) · 388 Bytes

Fixed assertion-rewrite cache behavior for moved test files: when a rewritten .pyc was reused after renaming or moving a test module/directory, nested code objects could keep a stale co_filename from the old path. This caused inspect.currentframe().f_code.co_filename (and related traceback/reporting paths) to point to the previous location instead of the current file path.