diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-05-19 06:02:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 00:02:57 +0200 |
commit | a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a (patch) | |
tree | bece391e5fb7dfc20ddb2d2e30d63ca5d4662996 /Python/pythonrun.c | |
parent | ced4e5c22756fde3e97327642c159f6699815caa (diff) | |
download | cpython-git-a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a.tar.gz |
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()".
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions