File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
python/pytest-selfie/pytest_selfie Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -337,11 +337,13 @@ def __all_tests_finished(self):
337337 if tests == SnapshotFileProgress .TERMINATED :
338338 raise ValueError (f"Snapshot for { self .test_file } already terminated!" )
339339 if self .file is not None :
340- stale_snapshot_indices = WithinTestGC .find_stale_snapshots_within (
341- self .file .snapshots ,
342- tests ,
343- find_test_methods_that_didnt_run (self .test_file , tests ),
344- )
340+ # TODO: figure out GC
341+ stale_snapshot_indices = []
342+ # stale_snapshot_indices = WithinTestGC.find_stale_snapshots_within(
343+ # self.file.snapshots,
344+ # tests,
345+ # find_test_methods_that_didnt_run(self.test_file, tests),
346+ # )
345347 if stale_snapshot_indices or self .file .was_set_at_test_time :
346348 self .file .remove_all_indices (stale_snapshot_indices )
347349 snapshot_path = self .system ._layout .snapshotfile_for_testfile (
You can’t perform that action at this time.
0 commit comments