Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
restore UnicodeUTF8 to None
  • Loading branch information
lorenzo angeli committed Aug 22, 2016
commit bbe30b2f785320e6722255e804b5935248cee849
4 changes: 2 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_translate_and_UnicodeUTF8_in_pyside2():
from Qt import QtWidgets

# this does not exist in PySide2 by default
assert QtWidgets.QApplication.UnicodeUTF8 is 0
assert QtWidgets.QApplication.UnicodeUTF8 is None

# use patched method with old arguments
QtWidgets.QApplication.translate(
Expand All @@ -270,7 +270,7 @@ def test_translate_and_UnicodeUTF8_in_PyQt5():
from Qt import QtWidgets

# this does not exist in PyQt5 by default
assert QtWidgets.QApplication.UnicodeUTF8 is 0
assert QtWidgets.QApplication.UnicodeUTF8 is None

# use patched method with old arguments
QtWidgets.QApplication.translate(
Expand Down