import time
-try:
- from test.support import import_fresh_module
-except ImportError:
- from test.test_support import import_fresh_module
+from test.support.import_helper import import_fresh_module
C = import_fresh_module('decimal', fresh=['_decimal'])
P = import_fresh_module('decimal', blocked=['_decimal'])
from queue import Queue, Empty
from threading import Thread, Event, Lock
-from test.support import import_fresh_module
+from test.support.import_helper import import_fresh_module
from randdec import randfloat, all_unary, all_binary, all_ternary
from randdec import unary_optarg, binary_optarg, ternary_optarg
from formathelper import rand_format, rand_locale
import os, sys, locale, random
import platform, subprocess
-from test.support import import_fresh_module
+from test.support.import_helper import import_fresh_module
from distutils.spawn import find_executable
C = import_fresh_module('decimal', fresh=['_decimal'])