Skip to content

Instantly share code, notes, and snippets.

@blbradley
Created February 19, 2015 16:49
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 blbradley/9b0958b8badf754372ee to your computer and use it in GitHub Desktop.
Save blbradley/9b0958b8badf754372ee to your computer and use it in GitHub Desktop.
./test_fast results for using NotImplemented in Period.__richcmp__ - pandas #9504
======================================================================
FAIL: test_greaterEqual_Raises_Value (pandas.tseries.tests.test_period.TestComparisons)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/brandon/src/coins/pandas/pandas/tseries/tests/test_period.py", line 2825, in test_greaterEqual_Raises_Value
print(self.january1 >= 1)
File "/home/brandon/src/coins/pandas/pandas/util/testing.py", line 1644, in __exit__
raise AssertionError("{0} not raised.".format(name))
AssertionError: TypeError not raised.
-------------------- >> begin captured stdout << ---------------------
True
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: test_greater_Raises_Type (pandas.tseries.tests.test_period.TestComparisons)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/brandon/src/coins/pandas/pandas/tseries/tests/test_period.py", line 2816, in test_greater_Raises_Type
self.january1 > 1
File "/home/brandon/src/coins/pandas/pandas/util/testing.py", line 1644, in __exit__
raise AssertionError("{0} not raised.".format(name))
AssertionError: TypeError not raised.
======================================================================
FAIL: test_smallerEqual_Raises_Type (pandas.tseries.tests.test_period.TestComparisons)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/brandon/src/coins/pandas/pandas/tseries/tests/test_period.py", line 2836, in test_smallerEqual_Raises_Type
self.january1 <= 1
File "/home/brandon/src/coins/pandas/pandas/util/testing.py", line 1644, in __exit__
raise AssertionError("{0} not raised.".format(name))
AssertionError: TypeError not raised.
======================================================================
FAIL: test_smaller_Raises_Type (pandas.tseries.tests.test_period.TestComparisons)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/brandon/src/coins/pandas/pandas/tseries/tests/test_period.py", line 2847, in test_smaller_Raises_Type
self.january1 < 1
File "/home/brandon/src/coins/pandas/pandas/util/testing.py", line 1644, in __exit__
raise AssertionError("{0} not raised.".format(name))
AssertionError: TypeError not raised.
----------------------------------------------------------------------
Ran 7256 tests in 85.650s
FAILED (SKIP=531, failures=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment