Package: src:python-icecream
Version: 2.0.0-1
Severity: serious
Tags: sid bullseye
User: [email protected]
Usertags: python3.9
autopkgtest [23:11:12]: test unittest: [-----------------------
EEEE.EEEEEEEEEEEEEEEE.EEEEEEE.
======================================================================
ERROR: testArgToStringFunction (tests.test_icecream.TestIceCream)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/tests/test_icecream.py",
line 361, in testArgToStringFunction
ic(eins)
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/icecream/icecream.py", line
172, in __call__
out = self._format(callFrame, *args)
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/icecream/icecream.py", line
206, in _format
out = self._formatArgs(
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/icecream/icecream.py", line
213, in _formatArgs
sanitizedArgStrs = [
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/icecream/icecream.py", line
214, in <listcomp>
source.get_text_with_indentation(arg)
File
"/tmp/autopkgtest-lxc.cpj9es1s/downtmp/build.Ibp/src/icecream/icecream.py", line
110, in get_text_with_indentation
result = self.asttokens().get_text(node)
File "/usr/lib/python3/dist-packages/executing.py", line 340, in asttokens
return ASTTokens(
File "/usr/lib/python3/dist-packages/asttokens/asttokens.py", line 65, in
__init__
self.mark_tokens(self._tree)
File "/usr/lib/python3/dist-packages/asttokens/asttokens.py", line 76, in
mark_tokens
MarkTokens(self).visit_tree(root_node)
File "/usr/lib/python3/dist-packages/asttokens/mark_tokens.py", line 49, in
visit_tree
util.visit_tree(node, self._visit_before_children,
self._visit_after_children)
File "/usr/lib/python3/dist-packages/asttokens/util.py", line 186, in
visit_tree
ret = postvisit(current, par_value, value)
File "/usr/lib/python3/dist-packages/asttokens/mark_tokens.py", line 92, in
_visit_after_children
nfirst, nlast = self._methods.get(self, node.__class__)(node, first, last)
File "/usr/lib/python3/dist-packages/asttokens/mark_tokens.py", line 330, in
visit_keyword
util.expect_token(name, token.NAME, node.arg)
File "/usr/lib/python3/dist-packages/asttokens/util.py", line 56, in
expect_token
raise ValueError("Expected token %s, got %s on line %s col %s" % (
ValueError: Expected token NAME:'outputFunction', got
NAME:'originalOutputFunction' on line 55 col 5