GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Backport PR #18093: TST: xfail test_z_at_value_numpyvectorize for num… · meeseeksmachine/astropy@67f89a9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • astropy/cosmology/_src/tests/funcs
    • test_funcs.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎astropy/cosmology/_src/tests/funcs/test_funcs.py‎

Copy file name to clipboardExpand all lines: astropy/cosmology/_src/tests/funcs/test_funcs.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
)
3232
from astropy.cosmology._src.funcs.optimize import _z_at_scalar_value
3333
from astropy.units import allclose
34+
from astropy.utils.compat import NUMPY_LT_2_3
3435
from astropy.utils.compat.optional_deps import HAS_SCIPY
3536
from astropy.utils.exceptions import AstropyUserWarning
3637

@@ -173,6 +174,9 @@ def test_scalar_input_to_output(self):
173174

174175

175176
@pytest.mark.skipif(not HAS_SCIPY, reason="test requires scipy")
177+
@pytest.mark.xfail(
178+
not NUMPY_LT_2_3, reason="TODO fix: https://github.com/astropy/astropy/issues/18045"
179+
)
176180
def test_z_at_value_numpyvectorize():
177181
"""Test that numpy vectorize fails on Quantities.
178182

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.