Skip to content

Commit 7574a9d

Browse files
committed
Removed unused variable [skip ci]
1 parent e6372ce commit 7574a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_sparse_vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_list_empty(self) -> None:
2727
assert SparseVector([]).to_list() == []
2828

2929
def test_list_str(self) -> None:
30-
with pytest.raises(ValueError, match='could not convert string to float') as error:
30+
with pytest.raises(ValueError, match='could not convert string to float'):
3131
SparseVector([1, 'two', 3]) # type: ignore
3232

3333
def test_list_dimensions(self) -> None:

0 commit comments

Comments
 (0)