Skip to content

Commit 04b9e13

Browse files
committed
fix unused variable
1 parent b111a16 commit 04b9e13

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/test_collaborative_model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ def test_get_recommendations_book_not_in_both_dataframes(
172172
cf_model.train(sample_final_rating_df)
173173

174174
if cf_model.book_pivot is not None and len(cf_model.book_pivot.index) > 0:
175-
first_title = cf_model.book_pivot.index[0]
176175

177176
# Mock the pivot index to include a fake book title that won't be in DataFrames
178177
original_index = cf_model.book_pivot.index.tolist()

0 commit comments

Comments
 (0)