Skip to content

Commit 794b404

Browse files
Julien RousselJulien Roussel
authored andcommitted
data tests made windows compatible
1 parent 43504c1 commit 794b404

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

qolmat/utils/data.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,11 @@ def download_data_from_zip(
5454
List[pd.DataFrame]
5555
A list of DataFrames loaded from the CSV files within the extracted directory.
5656
"""
57-
print()
58-
print("download_data_from_zip")
59-
print(datapath)
60-
print(zipname)
6157
path_zip = os.path.join(datapath, zipname)
62-
print(path_zip)
6358
path_zip_ext = path_zip + ".zip"
6459
url = os.path.join(urllink, zipname) + ".zip"
6560
os.makedirs(datapath, exist_ok=True)
6661
if not os.path.exists(path_zip_ext) and not os.path.exists(path_zip):
67-
print(url)
68-
print(path_zip_ext)
6962
request.urlretrieve(url, path_zip_ext)
7063
if not os.path.exists(path_zip):
7164
with zipfile.ZipFile(path_zip_ext, "r") as zip_ref:

tests/imputations/test_preprocessing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ def test_preprocessing_pipeline(preprocessing_pipeline):
198198
# Test with numerical features
199199
X_num = pd.DataFrame([[1, 2], [3, 4], [5, 6]])
200200
X_transformed = preprocessing_pipeline.fit_transform(X_num)
201-
print(X_num.shape)
202-
print(X_transformed.shape)
203201
assert isinstance(X_transformed, pd.DataFrame)
204202
assert X_transformed.shape[1] == X_num.shape[1]
205203

0 commit comments

Comments
 (0)