Skip to content

Commit

Permalink
Codestyle updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Jun 4, 2024
1 parent 46cf9d1 commit 3df767f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions echo/qt/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"SKIP_QT_TEST"
]


def package_installed(package):
try:
__import__(package)
return True
except ImportError:
return False


PYQT5_INSTALLED = package_installed("PyQt5")
PYQT6_INSTALLED = package_installed("PyQt6")
PYSIDE2_INSTALLED = package_installed("PySide2")
Expand Down
2 changes: 0 additions & 2 deletions echo/qt/tests/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

def test_connect_checkable_button():



class Test(object):
a = CallbackProperty()
b = CallbackProperty(True)
Expand Down

0 comments on commit 3df767f

Please sign in to comment.