diff options
author | Stefan Krah <skrah@bytereef.org> | 2020-08-10 19:54:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 19:54:50 (GMT) |
commit | 85fdafa6ea933aa0623f5d8297ab0f4b20866234 (patch) | |
tree | 822ce647d18fb960a1528882753698b7b686b288 /Modules/_decimal/tests/formathelper.py | |
parent | eaa551702d80fd67219c48ee6a13ffb571ca360b (diff) | |
download | cpython-85fdafa6ea933aa0623f5d8297ab0f4b20866234.zip cpython-85fdafa6ea933aa0623f5d8297ab0f4b20866234.tar.gz cpython-85fdafa6ea933aa0623f5d8297ab0f4b20866234.tar.bz2 |
Replace import_fresh_module in decimal test files (GH-21815)
Diffstat (limited to 'Modules/_decimal/tests/formathelper.py')
-rw-r--r-- | Modules/_decimal/tests/formathelper.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_decimal/tests/formathelper.py b/Modules/_decimal/tests/formathelper.py index 19b2aad..482e02a 100644 --- a/Modules/_decimal/tests/formathelper.py +++ b/Modules/_decimal/tests/formathelper.py @@ -31,11 +31,10 @@ import os, sys, locale, random import platform, subprocess -from test.support import import_fresh_module from distutils.spawn import find_executable -C = import_fresh_module('decimal', fresh=['_decimal']) -P = import_fresh_module('decimal', blocked=['_decimal']) +import _decimal as C +import _pydecimal as P windows_lang_strings = [ |