New submission from Xavier de Gaye:

After renaming the first test_errors method to test_errors_1 and the
second one to test_errors_2:

$ /bin/sh -c "cd Lib/ctypes/test; ../../../python runtests.py test_functions.py"
....F................
======================================================================
FAIL: test_errors_1 (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Lib/ctypes/test/test_functions.py", line 227, in test_errors_1
    self.assertRaises(TypeError, f, X()) #cannot convert parameter
AssertionError: TypeError not raised by _testfunc_p_p

----------------------------------------------------------------------
Ran 21 tests in 0.007s

FAILED (failures=1)

----------
components: Library (Lib)
messages: 198529
nosy: amaury.forgeotdarc, belopolsky, meador.inge, xdegaye
priority: normal
severity: normal
status: open
title: duplicate test names in Lib/ctypes/test/test_functions.py
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19113>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to