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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes