Skip to content

Commit

Permalink
Add URLs for nightly wheels, fix expected y_lim for glue-core >= 1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dhomeier committed Oct 1, 2024
1 parent e8b830f commit 4fda266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions glue_qt/viewers/profile/tests/test_data_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,10 @@ def test_unit_conversion_limits():

assert viewer.state.x_min == 3.0
assert viewer.state.x_max == 3.0
assert viewer.state.y_min == 0.
assert viewer.state.y_max == 1.

# Limits for constant data == 3.0; this was broken up to glue-core 1.21.1 (glue-viz/glue#2513)
assert viewer.state.y_min in (2.7, 0.0)
assert viewer.state.y_max in (3.3, 1.0)

# Explicitly set unit on y axis to enable unit conversion
viewer.state.y_display_unit = 'Jy'
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ passenv =
# Set to 1 to get more debug information from PyQt
setenv =
test: QT_DEBUG_PLUGINS = 0
dev: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
whitelist_externals =
find
rm
Expand Down

0 comments on commit 4fda266

Please sign in to comment.