New submission from Irit Katriel <[email protected]>:
% ./python.exe -E -We -m test -v test_pickle
======================================================================
ERROR: test_import (test.test_pickle.CompatPickleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 367, in
getmodule
return sys.modules[module]
~~~~~~~~~~~^^^^^^^^
KeyError: 'tkinter.tix'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 401, in
test_import
getmodule(module)
^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 370, in
getmodule
__import__(module)
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/tkinter/tix.py", line 32, in
<module>
warnings.warn(
^^^^^^^^^^^^^^
DeprecationWarning: The Tix Tk extension is unmaintained, and the tkinter.tix
wrapper module is deprecated in favor of tkinter.ttk
======================================================================
ERROR: test_import_mapping (test.test_pickle.CompatPickleTests)
[('tkinter.tix', 'Tix')]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 367, in
getmodule
return sys.modules[module]
~~~~~~~~~~~^^^^^^^^
KeyError: 'tkinter.tix'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 409, in
test_import_mapping
getmodule(module3)
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 370, in
getmodule
__import__(module)
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/tkinter/tix.py", line 32, in
<module>
warnings.warn(
^^^^^^^^^^^^^^
DeprecationWarning: The Tix Tk extension is unmaintained, and the tkinter.tix
wrapper module is deprecated in favor of tkinter.ttk
======================================================================
ERROR: test_reverse_import_mapping (test.test_pickle.CompatPickleTests)
[('Tix', 'tkinter.tix')]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 367, in
getmodule
return sys.modules[module]
~~~~~~~~~~~^^^^^^^^
KeyError: 'tkinter.tix'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 440, in
test_reverse_import_mapping
getmodule(module3)
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/test/test_pickle.py", line 370, in
getmodule
__import__(module)
^^^^^^^^^^^^^^^^^^
File "/Users/iritkatriel/src/cpython-1/Lib/tkinter/tix.py", line 32, in
<module>
warnings.warn(
^^^^^^^^^^^^^^
DeprecationWarning: The Tix Tk extension is unmaintained, and the tkinter.tix
wrapper module is deprecated in favor of tkinter.ttk
----------------------------------------------------------------------
----------
components: Tests
messages: 398599
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: test_pickle issues "DeprecationWarning: The Tix Tk.."
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44785>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com