Skip to content

Commit

Permalink
Fix ohe test case
Browse files Browse the repository at this point in the history
  • Loading branch information
fealho committed Oct 19, 2023
1 parent d672946 commit a4b3043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/transformers/test_categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def test_one_hot_doesnt_warn(tmp_path):
# Run
ohe.fit(data, 'column_name')
tmp = tmp_path / 'ohe.pkl'
with open(tmp, 'wb') as f:
with open(tmp.name, 'wb') as f:
pickle.dump(ohe, f)
with open(tmp.name, 'rb') as f:
ohe_loaded = pickle.load(f)
Expand Down

0 comments on commit a4b3043

Please sign in to comment.