Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python 3.8 SyntaxWarning: 'str' object is not callable #370

Merged
merged 1 commit into from Nov 5, 2019

Commits on Oct 22, 2019

  1. Fix Python 3.8 SyntaxWarning: 'str' object is not callable

    Fixes these warnings from Python 3.8:
    
    /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)
    
    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    d99af6c View commit details
    Browse the repository at this point in the history