Skip to content

Debian wheezy test failure: test_pytables.py:test_encoding 'f' != 'foo' #5851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yarikoptic opened this issue Jan 4, 2014 · 8 comments
Closed
Labels
IO HDF5 read_hdf, HDFStore Testing pandas testing functions or related to the test suite
Milestone

Comments

@yarikoptic
Copy link
Contributor

======================================================================
FAIL: test_encoding (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pytables.py", line 856, in test_encoding
    tm.assert_frame_equal(store['df'], df)
  File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 498, in assert_frame_equal
    check_less_precise=check_less_precise)
  File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 447, in assert_series_equal
    assert_almost_equal(left.values, right.values, check_less_precise)
  File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2561)
  File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1803)
  File "testing.pyx", line 69, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1499)
AssertionError: 'f' != 'foo'

pytables 2.3.1-3

@jreback
Copy link
Contributor

jreback commented Jan 5, 2014

this doesn't repro on wheezy

log? does it keep happening?

@yarikoptic
Copy link
Contributor Author

On Sat, 04 Jan 2014, jreback wrote:

this doesn't repro on wheezy

hm... may be I am missing some updates?

log? does it keep happening?

seems to be consistent for me. Here is a sample lo

http://neuro.debian.net/_files/_buildlogs/pandas/0.13.0/pandas_0.13.0-2~nd70+1_amd64.build

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

@jreback
Copy link
Contributor

jreback commented Jan 5, 2014

Is their a locale set or something that schroot. -c wheezy doesn't pick up ?

@jreback
Copy link
Contributor

jreback commented Jan 5, 2014

@yarikoptic I still can't reprod....but try this commits; it'll skip it: (this is merged) 675c823

@yarikoptic
Copy link
Contributor Author

On Sun, 05 Jan 2014, jreback wrote:

[1]@yarikoptic I still can't reprod....

is any information below of use?:

nosetests -s -v /tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pytables.py:TestHDFStore.test_encoding; PYTHONPATH=/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/ python pandas/util/print_versions.py

test_encoding (pandas.io.tests.test_pytables.TestHDFStore) ... FAIL

FAIL: test_encoding (pandas.io.tests.test_pytables.TestHDFStore)

Traceback (most recent call last):
File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/io/tests/test_pytables.py", line 856, in test_encoding
tm.assert_frame_equal(store['df'], df)
File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 498, in assert_frame_equal
check_less_precise=check_less_precise)
File "/tmp/buildd/pandas-0.13.0/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 447, in assert_series_equal
assert_almost_equal(left.values, right.values, check_less_precise)
File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2561)
File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1803)
File "testing.pyx", line 69, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1499)
AssertionError: 'f' != 'foo'


Ran 1 test in 0.025s

FAILED (failures=1)

INSTALLED VERSIONS

Python: 2.7.3.final.0
OS: Linux
Release: 3.2.0-4-amd64
Processor:
byteorder: little
LC_ALL: C
LANG: C

pandas: 0.13.0
Cython: 0.15.1
Numpy: 1.6.2
Scipy: 0.10.1
statsmodels: 0.5.0
patsy: 0.2.1
scikits.timeseries: Not installed
dateutil: 1.5
pytz: 2012c
bottleneck: Not installed
PyTables: 2.3.1
numexpr: 2.0.1
matplotlib: 1.1.1rc2
openpyxl: 1.7.0
xlrd: 0.6.1
xlwt: 0.7.4
xlsxwriter: Not installed
sqlalchemy: Not installed
lxml: Not installed
bs4: 4.1.0
html5lib: 0.95-dev
bigquery: Not installed
apiclient: Not installed

Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

@jreback
Copy link
Contributor

jreback commented Jan 15, 2014

@yarikoptic is this still recurring on master? it should skip this test now (as py2.3.1) doesn't support the encoding properly

@jreback
Copy link
Contributor

jreback commented Jan 21, 2014

@yarikoptic this still failing? can we close?

@yarikoptic
Copy link
Contributor Author

according to
http://nipy.bic.berkeley.edu/builders/pandas-py2.x-wheezy-sparc/builds/384/steps/shell_4/logs/stdio
it is indeed skipped on wheezy, so I guess 'fixed in master' ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HDF5 read_hdf, HDFStore Testing pandas testing functions or related to the test suite
Projects
None yet
Development

No branches or pull requests

2 participants