Merge remote-tracking branch 'upstream/master' into merge-master-into-features
This commit is contained in:
@@ -85,7 +85,7 @@ class ApproxNumpy(ApproxBase):
|
||||
|
||||
try:
|
||||
actual = np.asarray(actual)
|
||||
except:
|
||||
except: # noqa
|
||||
raise TypeError("cannot compare '{0}' to numpy.ndarray".format(actual))
|
||||
|
||||
if actual.shape != self.expected.shape:
|
||||
|
||||
Reference in New Issue
Block a user