[New-bugs-announce] [issue41971] multiple tests in test_tools fail since Python 3.9
Felix Yan
report at bugs.python.org
Wed Oct 7 19:07:56 EDT 2020
New submission from Felix Yan <felixonmars at archlinux.org>:
I am packaging Python for Arch and the test suite of Python 3.8.6 passes here without these:
======================================================================
FAIL: test_multiple_roots (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 118, in test_multiple_roots
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_w[26 chars]tion walk at 0x7ff2eb562f70>)), ('_walk', ('eg[42 chars]0>))] != [('_w[26 chars]tion _walk_tree at 0x7ff2e5babdc0>)), ('_walk'[54 chars]0>))]
First differing element 0:
('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>)),
? ^^^^^
+ [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>)),
? + +++++ + ^^^^
- ('_walk', ('eggs', '.c', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ ('_walk', ('eggs', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_multiple_suffixes (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 189, in test_multiple_suffixes
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_no_suffix (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests) [None]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 209, in test_no_suffix
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_no_suffix (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests) []
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 209, in test_no_suffix
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', '', <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', '', <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', '', <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', '', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', '', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', '', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_no_suffix (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests) [()]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 209, in test_no_suffix
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', (), <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', (), <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', (), <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', (), <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', (), <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', (), <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_one_root (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 99, in test_one_root
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_one_suffix (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 167, in test_one_suffix
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_relparent (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 228, in test_relparent
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_w[33 chars]tion walk at 0x7ff2eb562f70>)), ('_walk', ('/x[49 chars]0>))] != [('_w[33 chars]tion _walk_tree at 0x7ff2e5babdc0>)), ('_walk'[61 chars]0>))]
First differing element 0:
('_walk', ('/x/y/z/spam', '.c', <function walk at 0x7ff2eb562f70>))
('_walk', ('/x/y/z/spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('/x/y/z/spam', '.c', <function walk at 0x7ff2eb562f70>)),
? ^^^^^
+ [('_walk', ('/x/y/z/spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>)),
? + +++++ + ^^^^
- ('_walk', ('/x/y/z/eggs', '.c', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ ('_walk', ('/x/y/z/eggs', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
test test_tools failed
======================================================================
FAIL: test_single_root (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 82, in test_single_root
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_single_suffix (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 146, in test_single_suffix
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))] != [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
First differing element 0:
('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', '.c', <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ [('_walk', ('spam', '.c', <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
======================================================================
FAIL: test_typical (test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/python/src/Python-3.9.0/Lib/test/test_tools/test_c_analyzer/test_common/test_files.py", line 64, in test_typical
self.assertEqual(self.calls, [
AssertionError: Lists differ: [('_w[26 chars]tion walk at 0x7ff2eb562f70>)), ('_walk', ('eg[42 chars]0>))] != [('_w[26 chars]tion _walk_tree at 0x7ff2e5babdc0>)), ('_walk'[54 chars]0>))]
First differing element 0:
('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>))
('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>))
- [('_walk', ('spam', None, <function walk at 0x7ff2eb562f70>)),
? ^^^^^
+ [('_walk', ('spam', None, <function _walk_tree at 0x7ff2e5babdc0>)),
? + +++++ + ^^^^
- ('_walk', ('eggs', None, <function walk at 0x7ff2eb562f70>))]
? ^^^^^
+ ('_walk', ('eggs', None, <function _walk_tree at 0x7ff2e5babdc0>))]
? + +++++ + ^^^^
----------------------------------------------------------------------
Ran 184 tests in 3.357s
FAILED (failures=11, skipped=2, expected failures=14)
0:25:39 load avg: 0.95 [362/424/3] test_trace -- test_tools failed
----------
components: Tests
messages: 378191
nosy: felixonmars
priority: normal
severity: normal
status: open
title: multiple tests in test_tools fail since Python 3.9
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41971>
_______________________________________
More information about the New-bugs-announce
mailing list