Skip to content

Commit

Permalink
Switch to assertRaises
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfletch committed Jan 3, 2020
1 parent 581d240 commit 6ec398d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accelerate/tests/test_numpyaccel.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_zeros( self ):
def test_asArrayCopy( self ):
a2 = self.array[:,0]
assert not a2.flags.contiguous
self.failUnlessRaises(
self.assertRaises(
error.CopyError,
self.eoc_handler.asArray,
a2
Expand Down

0 comments on commit 6ec398d

Please sign in to comment.