Skip to content

Commit 7b774ff

Browse files
authored
Merge pull request #172 from sol-ansano-kim/fix-qt-testing
fix QT_TESTING test
2 parents f2e1d56 + 514ef49 commit 7b774ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Qt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
self.__modified__ = list() # Existing members modified in some way
7070

7171
# Below members are set dynamically on import relative the original binding.
72-
self.__version__ = "0.6.8"
72+
self.__version__ = "0.6.9"
7373
self.__qt_version__ = "0.0.0"
7474
self.__binding__ = "None"
7575
self.__binding_version__ = "0.0.0"
@@ -124,7 +124,7 @@ def _remap(object, name, value, safe=True):
124124
125125
"""
126126

127-
if QT_TESTING is not None and safe:
127+
if QT_TESTING and safe:
128128
# Cannot alter original binding.
129129
if hasattr(object, name):
130130
raise AttributeError("Cannot override existing name: "

0 commit comments

Comments
 (0)