Skip to content

Commit

Permalink
Use raw string for regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gclendenning authored Jun 16, 2024
1 parent 4ae90e8 commit 58358ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynndescent/tests/test_pynndescent_.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_bitpacked_nn_descent_neighbor_accuracy(nn_data, seed):


@pytest.mark.skipif(
list(map(int, re.findall('[0-9]+\.[0-9]+\.?[0-9]*', scipy.version.version)[0].split("."))) < [1, 3, 0],
list(map(int, re.findall(r"[0-9]+\.[0-9]+\.?[0-9]*", scipy.version.version)[0].split("."))) < [1, 3, 0],
reason="requires scipy >= 1.3.0",
)
def test_sparse_nn_descent_neighbor_accuracy(sparse_nn_data, seed):
Expand Down

0 comments on commit 58358ed

Please sign in to comment.