Replace import_fresh_module in decimal test files (GH-21815)

This commit is contained in:
Stefan Krah 2020-08-10 21:54:50 +02:00 committed by GitHub
parent eaa551702d
commit 85fdafa6ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 12 deletions

View file

@ -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 = [