Skip to content

Commit

Permalink
Merge pull request #1318 from mr-c/newer_pyface
Browse files Browse the repository at this point in the history
Recent versions of pyface don't have a pyface.__version__
  • Loading branch information
prabhuramachandran authored Dec 20, 2024
2 parents d5b9c58 + cd652ee commit 254c4a5
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 254c4a5

Please sign in to comment.