Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Dec 31, 2024
1 parent 3c615a0 commit 8ab1bec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pint/testsuite/test_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,9 @@ def test_repeat(self):
helpers.assert_quantity_equal(
self.q.repeat(2), [1, 1, 2, 2, 3, 3, 4, 4] * self.ureg.m
)
helpers.assert_quantity_equal(
np.repeat(self.q, 2), [1, 1, 2, 2, 3, 3, 4, 4] * self.ureg.m
)

def test_sort(self):
q = [4, 5, 2, 3, 1, 6] * self.ureg.m
Expand Down

0 comments on commit 8ab1bec

Please sign in to comment.