mirror of https://github.com/python/cpython.git
bpo-45182: Fix incorrect use of requires_zlib in test_bdist_rpm (GH-28305)
It is a decorator factory and should be always followed by "()".
This commit is contained in:
parent
851811f577
commit
9260e67398
|
@ -44,7 +44,7 @@ def tearDown(self):
|
|||
# spurious sdtout/stderr output under Mac OS X
|
||||
@unittest.skipUnless(sys.platform.startswith('linux'),
|
||||
'spurious sdtout/stderr output under Mac OS X')
|
||||
@requires_zlib
|
||||
@requires_zlib()
|
||||
@unittest.skipIf(find_executable('rpm') is None,
|
||||
'the rpm command is not found')
|
||||
@unittest.skipIf(find_executable('rpmbuild') is None,
|
||||
|
@ -87,7 +87,7 @@ def test_quiet(self):
|
|||
# spurious sdtout/stderr output under Mac OS X
|
||||
@unittest.skipUnless(sys.platform.startswith('linux'),
|
||||
'spurious sdtout/stderr output under Mac OS X')
|
||||
@requires_zlib
|
||||
@requires_zlib()
|
||||
# http://bugs.python.org/issue1533164
|
||||
@unittest.skipIf(find_executable('rpm') is None,
|
||||
'the rpm command is not found')
|
||||
|
|
Loading…
Reference in New Issue