[issue10602] Wrong assert* method in test_csv.test_register_kwargs masks error
Éric Araujo
report at bugs.python.org
Thu Dec 2 12:52:55 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
This is the output of the test:
FAIL: test_register_kwargs (__main__.TestDialectRegistry)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_csv.py", line 326, in test_register_kwargs
self.assertEqual(list(csv.reader('X;Y;Z', name)), ['X', 'Y', 'Z'])
- [['X'], ['', ''], ['Y'], ['', ''], ['Z']]
+ ['X', 'Y', 'Z']
Do you want to write a fix for this bug?
----------
keywords: +patch
Added file: http://bugs.python.org/file19904/fix-test.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10602>
_______________________________________
More information about the Python-bugs-list
mailing list