[issue45332] Decimal test and benchmark are broken

2021-10-01 Thread Dong-hee Na


Dong-hee Na  added the comment:

Now the code is fixed.
Thanks Serhiy for the report and review :)

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-10-01 Thread miss-islington


miss-islington  added the comment:


New changeset 282992b36f9fe27183037051f3b37210884600af by Miss Islington (bot) 
in branch '3.10':
bpo-45332: Fix broken Decimal test and benchmark (GH-28680)
https://github.com/python/cpython/commit/282992b36f9fe27183037051f3b37210884600af


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-10-01 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +27044
pull_request: https://github.com/python/cpython/pull/28681

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-10-01 Thread Dong-hee Na


Dong-hee Na  added the comment:


New changeset 9eed75fde226cec5a02301cfac1dc8039b5a183e by Dong-hee Na in branch 
'main':
bpo-45332: Fix broken Decimal test and benchmark (GH-28680)
https://github.com/python/cpython/commit/9eed75fde226cec5a02301cfac1dc8039b5a183e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-10-01 Thread Dong-hee Na


Change by Dong-hee Na :


--
keywords: +patch
nosy: +corona10
nosy_count: 3.0 -> 4.0
pull_requests: +27043
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/28680

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-09-30 Thread Mark Dickinson


Change by Mark Dickinson :


--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45332] Decimal test and benchmark are broken

2021-09-30 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

The test and the benchmark for the decimal module are broken in 3.10+.

$ ./python Modules/_decimal/tests/deccheck.py
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Modules/_decimal/tests/deccheck.py", line 50, 
in 
from test.support import import_fresh_module

ImportError: cannot import name 'import_fresh_module' from 'test.support' 
(/home/serhiy/py/cpython/Lib/test/support/__init__.py)

$ ./python Modules/_decimal/tests/bench.py
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Modules/_decimal/tests/bench.py", line 11, in 

from test.support import import_fresh_module

ImportError: cannot import name 'import_fresh_module' from 'test.support' 
(/home/serhiy/py/cpython/Lib/test/support/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Modules/_decimal/tests/bench.py", line 13, in 

from test.test_support import import_fresh_module
^
ImportError: cannot import name 'import_fresh_module' from 'test.test_support' 
(/home/serhiy/py/cpython/Lib/test/test_support.py)


Modules/_decimal/tests/bench.py

--
components: Demos and Tools
messages: 402964
nosy: serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Decimal test and benchmark are broken
type: behavior
versions: Python 3.10, Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com