mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Replace import_fresh_module in decimal test files (GH-21815)
This commit is contained in:
parent
eaa551702d
commit
85fdafa6ea
3 changed files with 9 additions and 12 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue