diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-12-29 12:45:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 12:45:07 (GMT) |
commit | dd39123970892733c317f235808638ae5c0ccf04 (patch) | |
tree | 26d3e84894c96f5bc220cad8b6b0a87763b11863 /Lib | |
parent | 84402eb11086f97d31164aaa23e7238da3464f41 (diff) | |
download | cpython-dd39123970892733c317f235808638ae5c0ccf04.zip cpython-dd39123970892733c317f235808638ae5c0ccf04.tar.gz cpython-dd39123970892733c317f235808638ae5c0ccf04.tar.bz2 |
bpo-40137: Convert _functools module to use PyType_FromModuleAndSpec. (GH-23405)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_functools.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index bee9f91..caeeb27 100644 --- a/Lib/test/test_functools.py +++ b/Lib/test/test_functools.py @@ -27,8 +27,7 @@ import functools py_functools = import_helper.import_fresh_module('functools', blocked=['_functools']) -c_functools = import_helper.import_fresh_module('functools', - fresh=['_functools']) +c_functools = import_helper.import_fresh_module('functools') decimal = import_helper.import_fresh_module('decimal', fresh=['_decimal']) |