[Python-modules-team] Bug#956189: urwid/tests/test_canvas.py: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?

Paul Wise pabs at debian.org
Wed Apr 8 08:19:33 BST 2020


Package: python3-urwid
Version: 2.0.1-3
Severity: normal
File: /usr/lib/python3/dist-packages/urwid/tests/test_canvas.py
Usertags: warnings

Since the upgrade of Python in Debian to 3.8 I get warnings whenever
upgrading/installing python3-urwid.

Preparing to unpack .../python3-urwid_2.0.1-3_amd64.deb ...
Unpacking python3-urwid (2.0.1-3) over (2.0.1-2+b2) ...
Setting up python3-urwid (2.0.1-3) ...
/usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:141: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
  assert result == expected, "got: %r expected: %r" (result, expected)
/usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:145: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
  assert result == expected, "got: %r expected: %r" (result, expected)
/usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:149: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
  assert result == expected, "got: %r expected: %r" (result, expected)
/usr/lib/python3/dist-packages/urwid/tests/test_canvas.py:232: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
  assert result == expected, "got: %r expected: %r" (result, expected)

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-urwid depends on:
ii  libc6    2.30-4
ii  python3  3.8.2-2

python3-urwid recommends no packages.

Versions of packages python3-urwid suggests:
pn  python-urwid-doc  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200408/66181aff/attachment-0001.sig>


More information about the Python-modules-team mailing list