[New-bugs-announce] [issue45182] Incorrect use of requires_zlib in test_bdist_rpm

Serhiy Storchaka report at bugs.python.org
Mon Sep 13 03:46:28 EDT 2021

New submission from Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list