Skip to content

Instantly share code, notes, and snippets.

@mattip
Last active July 7, 2017 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattip/9b39ded038d3c3f4a344bcb03d675b3b to your computer and use it in GitHub Desktop.
Save mattip/9b39ded038d3c3f4a344bcb03d675b3b to your computer and use it in GitHub Desktop.
pandas tests failures 9.7.2017
With pandas HEAD, numpy refactor-updateifcopy, pypy cpyext-add_newdoc:
$(ulimit -v 5000000; p=../pypy-latest/bin/pypy; export PYTHONHASHSEED=$($p -c 'import random; print(random.randint(1, 4294967295))'); $p -mpytest pandas -n 4)
bottom line, four xdist tests in parallel
267 failed, 9087 passed, 1631 skipped, 6 xfailed in 1036.08 seconds
$ grep -a '\(^E *[A-Z][a-zA-Z]*Error:\)\|\(^AssertionError$\)\|\(^E *MemoryError\)' ../test_pandas.txt |cut -c 5- |cut -f1,2 -d: | sed -e's/ */ /' | sort |uniq -c |sort -n -r
58 TypeError: don't know how to convert scalar number to int
54 ValueError: setting an array element with a sequence.
44 MemoryError
20 TypeError: sys.getsizeof() is not implemented on PyPy.
12 SystemError: An exception was set, but function returned a value
8 AssertionError: numpy array are different
8 AssertionError: Index are different
6 KeyError: TypeError("don't know how to convert scalar number to int",)
6 AssertionError: Attributes are different
4 SystemError: Bad internal call!
4 AttributeError: 'str' object has no attribute '__sizeof__'
4 AssertionError: DataFrame are different
4 AssertionError: assert False
3 PicklingError: Can't pickle <type 'pandas._libs.sparse.BlockIndex'>
2 SettingWithCopyError:
2 AssertionError: Series.index are different
1 ValueError: ('year must be in 1..9999', 0)
1 TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('<U10') dtype('<U10') dtype('<U10')
1 TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S6') dtype('S6') dtype('S6')
1 TypeError: 'NoneType' has no length
1 TypeError: expected a readable buffer object
1 TypeError: don't know how to convert scalar number to float
1 PicklingError: Can't pickle <type 'pandas._libs.sparse.IntIndex'>
1 AttributeError: 'unicode' object has no attribute '__sizeof__'
1 AttributeError: 'int' object has no attribute '__sizeof__'
1 AttributeError: 'bool' object has no attribute '__sizeof__'
1 AssertionError: Wrong exception
1 AssertionError: TypeError not raised.
1 AssertionError: Series are different
1 AssertionError: ""quoting" must be an integer" does not match "expected integer, got str object"
1 AssertionError: "pickle protocol 4 asked for; the highest available protocol is 2" does not match "pickle protocol must be <= 2"
1 AssertionError: "pickle protocol 3 asked for; the highest available protocol is 2" does not match "pickle protocol must be <= 2"
1 AssertionError: "Not a valid normalize argument" does not match "setting an array element with a sequence."
1 AssertionError: [('index', '')] does not match [don't know how to convert scalar number to int], received [0b11]
1 AssertionError: Did not see expected warning of class 'PerformanceWarning'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment