New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
requires_zlib is a decorator factory which returns a decorator, not a decorator. It should always be followed by parenthesis. In Lib/distutils/tests/test_bdist_rpm.py it is used improperly, so the corresponding tests were never ran. ---------- components: Tests messages: 401690 nosy: dstufft, eric.araujo, serhiy.storchaka priority: normal severity: normal status: open title: Incorrect use of requires_zlib in test_bdist_rpm type: behavior versions: Python 3.10, Python 3.11, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45182> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com