Hi,
I'm getting a failure that is perhaps not a failure.
SUSE_11, python 2.7.1, pytables 2.2.1, numpexpr 4.1.2, hdf5-1.8.6
After building pytables,modify lines 266-273 of tables/tests/test_expression.py
if 1:#common.verbose:
print "Checking output container:", type(r1)
expr.setOutput(r1)
r1 = expr.eval()
r1 = r1[()] # convert a 0-dim array into a scalar
r2 = eval(expr_str, self.npvars)
if 1:#common.verbose:
PYTHONPATH=.:$PYTHONPATH python tables/tests/test_all.py --heavy
==>
......Checking output container: <type 'numpy.ndarray'>
Computed expression: 8 int64
Should look like: 8 int64
F.......Checking output container: <type 'numpy.ndarray'>
Computed expression: 8 int64
Should look like: 8 int64
F................................................................................................................................................................................................
======================================================================
FAIL: test01b_out_scalars (tables.tests.test_expression.MixedContainers0)
Checking expressions with mixed objects (`out` param, scalars)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/noc/omf/working/proc3/agn/ext/src/tables-2.2.1/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/noc/omf/working/proc3/agn/ext/src/tables-2.2.1/tables/tests/test_expression.py",
line 276, in test01b_out_scalars
"Evaluate is returning a wrong value.")
AssertionError: Evaluate is returning a wrong value.
======================================================================
FAIL: test01b_out_scalars (tables.tests.test_expression.MixedContainers1)
Checking expressions with mixed objects (`out` param, scalars)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/noc/omf/working/proc3/agn/ext/src/tables-2.2.1/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/noc/omf/working/proc3/agn/ext/src/tables-2.2.1/tables/tests/test_expression.py",
line 276, in test01b_out_scalars
"Evaluate is returning a wrong value.")
AssertionError: Evaluate is returning a wrong value.
----------------------------------------------------------------------
Ran 4380 tests in 249.659s
FAILED (failures=2)
Since 8 int64 looks to me like 8 int64
this seems curious.
--George.
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users