Skip to content

Commit

Permalink
Remove unnecessary use of np.random in response to review
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Aug 3, 2023
1 parent 7074d5f commit cd45745
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions astrowidgets/tests/widget_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ def test_add_markers(self):
def test_get_markers_accepts_list_of_names(self):
# Check that the get_markers method accepts a list of marker names
# and returns a table with all the markers from all the named sets.
rng = np.random.default_rng(1234)
data = rng.integers(0, 100, (5, 2))
data = np.arange(10).reshape((5, 2))
tab = Table(data=data, names=['x', 'y'])
self.image.add_markers(tab, marker_name='test1')
self.image.add_markers(tab, marker_name='test2')
Expand Down

0 comments on commit cd45745

Please sign in to comment.