Skip to content

Commit

Permalink
Use pkg_version
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Jan 22, 2025
1 parent 8d45d49 commit 3cc91fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

from functools import partial
from importlib.metadata import version
from itertools import chain, combinations, repeat
from pathlib import Path
from typing import TYPE_CHECKING
Expand Down Expand Up @@ -1184,7 +1183,7 @@ def test_scatterplots(image_comparer, pbmc_scatterplots, id, fn):


@pytest.mark.skipif(
Version(version("numba")) < Version("0.61.0"),
pkg_version("numba") < Version("0.61.0"),
reason="Same random_state value produces different UMAP results between numba versions. See #2946",
)
@pytest.mark.parametrize(
Expand Down

0 comments on commit 3cc91fc

Please sign in to comment.