Skip to content

Commit

Permalink
chore(python): remove rm_files
Browse files Browse the repository at this point in the history
  • Loading branch information
Willian-Zhang committed May 7, 2021
1 parent 591fc5e commit 2d32b87
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/python_package_test/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
from .utils import load_breast_cancer


def rm_files(files):
if not isinstance(files, list):
files = [files]
for file in files:
if os.path.exists(file):
os.remove(file)


def test_basic(tmp_path):
X_train, X_test, y_train, y_test = train_test_split(*load_breast_cancer(return_X_y=True),
test_size=0.1, random_state=2)
Expand Down

0 comments on commit 2d32b87

Please sign in to comment.