Skip to content

Commit

Permalink
Use correct expected mask for degrees polar ROI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Mar 21, 2023
1 parent 8996710 commit 1fdd5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue/viewers/scatter/qt/tests/test_data_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def test_limits_log_widget_fullsphere(self):
assert ui.valuetext_y_max.isEnabled()
assert ui.button_full_circle.isHidden()

@pytest.mark.parametrize('angle_unit,expected_mask', [('radians', [0, 0, 0, 1]), ('degrees', [0, 0, 0, 1])])
@pytest.mark.parametrize('angle_unit,expected_mask', [('radians', [0, 0, 0, 1]), ('degrees', [1, 1, 0, 1])])
def test_apply_roi_polar(self, angle_unit, expected_mask):
self.viewer.add_data(self.data)
viewer_state = self.viewer.state
Expand Down

0 comments on commit 1fdd5e9

Please sign in to comment.