Skip to content

Commit a088179

Browse files
committed
Add failing test for python3.5/numpy-1.11.2
1 parent 39d9b4a commit a088179

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎quantities/tests/test_arithmetic.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def test_in_place_subtraction(self):
363363
def test_powering(self):
364364
# test raising a quantity to a power
365365
self.assertQuantityEqual((5.5 * pq.cm)**5, (5.5**5) * (pq.cm**5))
366+
self.assertQuantityEqual((5.5 * pq.cm)**0, (5.5**0) * pq.dimensionless)
366367

367368
# must also work with compound units
368369
self.assertQuantityEqual((5.5 * pq.J)**5, (5.5**5) * (pq.J**5))

0 commit comments

Comments
 (0)