You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======================================================================
FAIL: test_cross (quantities.tests.test_umath.TestUmath)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/darren/Projects/python-quantities/quantities/tests/test_umath.py", line 50, in test_cross
self.assertQuantityEqual(np.cross(a,b), [-15,-2,39]*pq.kPa*pq.m**2)
File "/Users/darren/Projects/python-quantities/quantities/tests/common.py", line 44, in assertQuantityEqual
"Dimensionalities are not equal (%s vs %s)%s" % (d1, d2, msg)
AssertionError: Dimensionalities are not equal (dimensionless vs m**2*kPa)
Depends on how you view it. Marked as expect == not important enough to fix == resolved by selective attention ;-) Anyway, it doesn't show up as a failure, which is relevant in the context of running the unittests at package buildtime, where failure would mean no package gets built.
Fixing will require changes to numpy. Numpy is considering a change to how subclasses would extend/implement ufuncs, which would make life much easier for quantities.
On Tue, Sep 27, 2011 at 08:52:51AM -0700, Darren Dale wrote:
Fixing will require changes to numpy. Numpy is considering a change to how subclasses would extend/implement ufuncs, which would make life much easier for quantities.
So this means a versioned dependency on NumPy 1.6 (or later)?
Resolving the few offending ufuncs will require a dependency on a future version of numpy, or quantities will have to ship its own complete set of ufuncs.
Activity
mih commentedon Sep 26, 2011
Seems to be resolved with 0.10
ddale commentedon Sep 27, 2011
resolved, or marked as expected failure?
mih commentedon Sep 27, 2011
Depends on how you view it. Marked as expect == not important enough to fix == resolved by selective attention ;-) Anyway, it doesn't show up as a failure, which is relevant in the context of running the unittests at package buildtime, where failure would mean no package gets built.
ddale commentedon Sep 27, 2011
Fixing will require changes to numpy. Numpy is considering a change to how subclasses would extend/implement ufuncs, which would make life much easier for quantities.
mih commentedon Sep 27, 2011
On Tue, Sep 27, 2011 at 08:52:51AM -0700, Darren Dale wrote:
So this means a versioned dependency on NumPy 1.6 (or later)?
Michael Hanke
http://mih.voxindeserto.de
ddale commentedon Sep 28, 2011
Resolving the few offending ufuncs will require a dependency on a future version of numpy, or quantities will have to ship its own complete set of ufuncs.