SIGN IN SIGN UP

bpo-40275: More lazy imports in test.support (GH-20131)

Make the the following imports lazy in test.support:

* bz2
* gzip
* lzma
* resource
* zlib

The following test.support decorators now need to be called
with parenthesis:

* @support.requires_bz2
* @support.requires_gzip
* @support.requires_lzma
* @support.requires_zlib

For example, "@requires_zlib" becomes "@requires_zlib()".
H
Hai Shi committed
a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a
Parent: ced4e5c
Committed by GitHub <noreply@github.com> on 5/18/2020, 10:02:57 PM