Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3

unit test assertions need to be fixed to support Python 2.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.2.x
    • Shiboken
    • None
    • Python 2.7

    Description

      One unit test in tests/samplebinding/reference_test.py currently uses assertNotEqual. This breaks in Python 2.7 because it uses the != operator which is intentionally left undefined in Point class.

      Fix: modify the unit test to not use assertNotEqual.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            setanta Marcelo Lira
            mairas Matti Airas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes