Skip to content

Commit

Permalink
drop custom tmp_path
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Oct 30, 2018
1 parent de0bc1c commit 3ee21b2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions tests/lk_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,3 @@ def envvars(**vars):


ml_pandas = MLDataLoader(pd.read_csv)


@pytest.fixture
def tmp_path():
with tempfile.TemporaryDirectory(prefix='lkpy-test') as dir:
yield pathlib.Path(dir)
1 change: 0 additions & 1 deletion tests/test_als_explicit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from pytest import approx, mark

import lk_test_utils as lktu
from lk_test_utils import tmp_path

_log = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion tests/test_als_implicit.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from pytest import approx, mark

import lk_test_utils as lktu
from lk_test_utils import tmp_path

_log = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import numpy as np

import lk_test_utils as lktu
from lk_test_utils import tmp_path
from pytest import approx

simple_df = pd.DataFrame({'item': [1, 1, 2, 3],
Expand Down
1 change: 0 additions & 1 deletion tests/test_funksvd.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from pytest import approx, mark

import lk_test_utils as lktu
from lk_test_utils import tmp_path

_log = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion tests/test_knn_item_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from pytest import approx, mark

import lk_test_utils as lktu
from lk_test_utils import tmp_path

_log = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion tests/test_knn_user_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from pytest import approx, mark

import lk_test_utils as lktu
from lk_test_utils import tmp_path

_log = logging.getLogger(__name__)

Expand Down

0 comments on commit 3ee21b2

Please sign in to comment.