-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite
Milestone
Description
on ubuntu 13.04 several tests fail with 3.3 while they suceed with python2
13.04 has python 3.3 and numpy 1.7
current pandas head 61766ec
======================================================================
FAIL: test_quoting (pandas.io.tests.test_parsers.TestParsers)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jtaylor/tmp/pandas-0.9.1/build/lib.linux-x86_64-3.3/pandas/io/tests/test_parsers.py", line 528, in test_quoting
sep='\t')
AssertionError: Exception not raised by read_table
======================================================================
FAIL: test_cant_compare_tz_naive_w_aware (pandas.tseries.tests.test_timeseries.TestTimestamp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jtaylor/tmp/pandas-0.9.1/build/lib.linux-x86_64-3.3/pandas/tseries/tests/test_timeseries.py", line 2349, in test_cant_compare_tz_naive_w_aware
self.assertRaises(Exception, a.__eq__, b.to_pydatetime())
AssertionError: Exception not raised by __eq__
----------------------------------------------------------------------
======================================================================
FAIL: test_more_flexible_frame_multi_function (__main__.TestGroupBy)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jtaylor/tmp/pandas-0.9.1/build/lib.linux-x86_64-3.3/pandas/tests/test_groupby.py", line 1909, in test_more_flexible_frame_multi_function
assert_frame_equal(result, expected)
File "/home/jtaylor/tmp/pandas-0.9.1/build/lib.linux-x86_64-3.3/pandas/util/testing.py", line 167, in assert_frame_equal
assert(left.columns.equals(right.columns))
AssertionError
----------------------------------------------------------------------
======================================================================
ERROR: test_yahoo (pandas.io.tests.test_yahoo.TestYahoo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/tests/test_yahoo.py", line 25, in test_yahoo
pd.DataReader("F", 'yahoo', start, end)['Close'][-1],
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/data.py", line 58, in DataReader
retry_count=retry_count, pause=pause)
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/data.py", line 149, in get_data_yahoo
parse_dates=True)[::-1]
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/parsers.py", line 364, in parser_f
return _read(filepath_or_buffer, kwds)
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/parsers.py", line 195, in _read
return parser.read()
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/parsers.py", line 592, in read
ret = self._engine.read(nrows)
File "/tmp/pandas/build/lib.linux-x86_64-3.3/pandas/io/parsers.py", line 844, in read
data = self._reader.read(nrows)
File "parser.pyx", line 597, in pandas._parser.TextReader.read (pandas/src/parser.c:5342)
File "parser.pyx", line 619, in pandas._parser.TextReader._read_low_memory (pandas/src/parser.c:5562)
File "parser.pyx", line 668, in pandas._parser.TextReader._read_rows (pandas/src/parser.c:6143)
File "parser.pyx", line 655, in pandas._parser.TextReader._tokenize_rows (pandas/src/parser.c:6027)
File "parser.pyx", line 1385, in pandas._parser.raise_parser_error (pandas/src/parser.c:14807)
pandas._parser.CParserError: Error tokenizing data. C error: Expected 7 fields in line 106, saw 3
test_more_flexible_frame_multi_function (__main__.TestGroupBy) ... > /home/jtaylor/tmp/pandas-0.9.1/build/lib.linux-x86_64-3.3/pandas/util/testing.py(167)assert_frame_equal()
-> assert(left.columns.equals(right.columns))
(Pdb) p left.columns
[(D, mean), (D, std), (C, mean), (C, std)]
(Pdb) p right.columns
MultiIndex
[(C, mean), (C, std), (D, mean), (D, std)]
this one is random probably related to hash randomization
the yahoo one might be due to missing internet connection?
Metadata
Metadata
Assignees
Labels
BugTestingpandas testing functions or related to the test suitepandas testing functions or related to the test suite