Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into partial-layout-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Aug 29, 2023
2 parents f588a4f + 66f1048 commit ec27005
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def test_bobyqa(self):
self.skipTest(str(ex))

@unittest.skipIf(
tuple(map(int, numpy.__version__.split("."))) >= (1, 24, 0),
# NB: numpy.__version__ may contain letters, e.g. "1.26.0b1"
tuple(map(int, numpy.__version__.split(".")[:2])) >= (1, 24),
"scikit's SnobFit currently incompatible with NumPy 1.24.0.",
)
def test_snobfit(self):
Expand All @@ -81,7 +82,8 @@ def test_snobfit(self):
self.skipTest(str(ex))

@unittest.skipIf(
tuple(map(int, numpy.__version__.split("."))) >= (1, 24, 0),
# NB: numpy.__version__ may contain letters, e.g. "1.26.0b1"
tuple(map(int, numpy.__version__.split(".")[:2])) >= (1, 24),
"scikit's SnobFit currently incompatible with NumPy 1.24.0.",
)
@data((None,), ([(-1, 1), (None, None)],))
Expand Down

0 comments on commit ec27005

Please sign in to comment.