mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix test_decimal for current test support
This commit is contained in:
1 parent
18306e6953
commit
612ceecdc4
1 file changed
+1
-1
Vendored
+1
-1
@@ -44,7 +44,7 @@ import threading
|
||||
|
||||
C = import_fresh_module('decimal', fresh=['_decimal'])
|
||||
P = import_fresh_module('decimal', blocked=['_decimal'])
|
||||
orig_sys_decimal = sys.modules['decimal']
|
||||
import decimal as orig_sys_decimal
|
||||
|
||||
# fractions module must import the correct decimal module.
|
||||
cfractions = import_fresh_module('fractions', fresh=['fractions'])
|
||||
|
||||
Reference in new issue
Block a user