Skip to content

Commit

Permalink
Recent versions of pyface don't have a pyface.__version__
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Dec 19, 2024
1 parent d5b9c58 commit cd652ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvtk/tests/test_garbage_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if ETSConfig.toolkit in ('qt4', 'qt'):
import pyface
from pyface.qt import api_name
if api_name in ('pyqt', 'pyqt5') and \
if api_name in ('pyqt', 'pyqt5') and hasattr(pyface, "__version__") and \
Version(pyface.__version__) < Version('7.5.0.dev0'):
bad_pyqt5 = True

Expand Down

0 comments on commit cd652ee

Please sign in to comment.