diff options
| author | Yury Selivanov <yury@magic.io> | 2018-01-22 01:47:04 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-22 01:47:04 (GMT) |
| commit | 3510334361d6d39aad89e4e0d9bccd0695668583 (patch) | |
| tree | a958b198d0afe94ed7b9098ead6e19eef89aa55a /Lib/unittest/test/test_program.py | |
| parent | a4afcdfa55ddffa4b9ae3b0cf101628c7bff4102 (diff) | |
| download | cpython-3510334361d6d39aad89e4e0d9bccd0695668583.zip cpython-3510334361d6d39aad89e4e0d9bccd0695668583.tar.gz cpython-3510334361d6d39aad89e4e0d9bccd0695668583.tar.bz2 | |
bpo-32591: Fix PyExc_WarnFormat call (follow-up commit) (#5263)
The previous version was correct in terms of behaviour, but
checking the return value of PyErr_WarnFormat allows to
avoid calling PyErr_Occurred and silences the coverity alarm.
Diffstat (limited to 'Lib/unittest/test/test_program.py')
0 files changed, 0 insertions, 0 deletions
