New submission from Troulet-lambert Odile <pisc...@yahoo.fr>:

When passed an Argparse.ArgumentError in the self.assertRaises context 
uniittest does not recognize the exception and raises an exception.
As a consequence the test fails whereas it should pass

----------
components: Tests
files: bug_unittest_exception.py
messages: 399640
nosy: piscvau
priority: normal
severity: normal
status: open
title: Unittest incorrect result with argparse.ArgumentError in self 
asserRaises context
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file50222/bug_unittest_exception.py

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

Reply via email to