Ejemplo n.º 1
0
 def _do_cleanup(self, tmp_path: Path) -> None:
     self.test_make(tmp_path)
     cleanup_numbered_dir(
         root=tmp_path,
         prefix=self.PREFIX,
         keep=2,
         consider_lock_dead_if_created_before=0,
     )
Ejemplo n.º 2
0
    def _do_cleanup(self, tmp_path):
        self.test_make(tmp_path)
        from _pytest.pathlib import cleanup_numbered_dir

        cleanup_numbered_dir(
            root=tmp_path,
            prefix=self.PREFIX,
            keep=2,
            consider_lock_dead_if_created_before=0,
        )
Ejemplo n.º 3
0
    def _do_cleanup(self, tmp_path):
        self.test_make(tmp_path)
        from _pytest.pathlib import cleanup_numbered_dir

        cleanup_numbered_dir(
            root=tmp_path,
            prefix=self.PREFIX,
            keep=2,
            consider_lock_dead_if_created_before=0,
        )