Skip to content

python3.2 sparc test_frame_from_json_to_json: AssertionError: 0.0 != \U30000000\U2e000000\U30000000 #4274

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 Jul 17, 2013 · 5 comments
Labels
Testing pandas testing functions or related to the test suite
Milestone

Comments

@yarikoptic
Copy link
Contributor

Testing d070a1f

======================================================================
FAIL: test_frame_from_json_to_json (pandas.io.tests.test_json.test_pandas.TestPandasContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/tests/test_json/test_pandas.py", line 149, in test_frame_from_json_to_json
    raise_ok=ValueError)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/tests/test_json/test_pandas.py", line 111, in _check_all_orients
    _check_orient(df, "index", dtype=dtype, convert_axes=False)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/tests/test_json/test_pandas.py", line 96, in _check_orient
    assert_frame_equal(df, unser, check_less_precise=False, check_dtype=check_dtype)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/util/testing.py", line 239, in assert_frame_equal
    check_less_precise=check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/util/testing.py", line 198, in assert_series_equal
    assert_almost_equal(left.values, right.values, check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/util/testing.py", line 142, in assert_almost_equal
    assert_almost_equal(a[i], b[i], check_less_precise)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/util/testing.py", line 130, in assert_almost_equal
    assert a == b, "%s != %s" % (a, b)
AssertionError: 0.0 != \U30000000\U2e000000\U30000000

all previously reported sparc issues seems to be silent now

@jreback
Copy link
Contributor

jreback commented Jul 17, 2013

cc @Komnomnomnom

Komnomnomnom added a commit to Komnomnomnom/pandas that referenced this issue Jul 18, 2013
@Komnomnomnom
Copy link
Contributor

I'm somewhat guessing that this is because the test forces the endianness (<U3 means little endian, >U3 means big endian), would you mind testing this on my branch or just alter the test to remove the endian specifier like I've done in Komnomnomnom@441fc31

@jreback
Copy link
Contributor

jreback commented Jul 18, 2013

@Komnomnomnom
can u put this up in a PR - I'll merge this in

@Komnomnomnom
Copy link
Contributor

Ok done :-) #4284

jreback added a commit that referenced this issue Jul 18, 2013
@jreback
Copy link
Contributor

jreback commented Jul 18, 2013

should be closed by #4284 (now in master), @yarikoptic can you confirm?

@jreback jreback closed this as completed Jul 20, 2013
yarikoptic added a commit to neurodebian/pandas that referenced this issue Jul 25, 2013
* commit 'v0.12.0rc1-112-gb79996c':
  TST: ujson dont force endianness pandas-dev#4274
  BUG: Fixed non-unique indexing memory allocation issue with .ix/.loc (GH4280)
  BUG: fix data.py regression
  DOC: cookbook example
  TST/CI: remove html5lib from 3.2 build
  TST: properly skip html5lib
PKNaveen added a commit to PKNaveen/pandas that referenced this issue Mar 8, 2023
This is an update to the pandas-dev#4274 , now I believe when you expand the card it should be in Dark mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

No branches or pull requests

3 participants