Skip to content

Commit

Permalink
fix: fix psygnal rc version parsing (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Feb 23, 2023
1 parent 2ee3c83 commit 0bb5323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_gui_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ class Foo:
def test_slots_guiclass():
"""Test that the guiclass decorator works as expected."""

psyg_version = tuple(int(x) for x in psygnal.__version__.split(".")[:3])
old_psygnal = psyg_version < (0, 6, 1)
psyg_v = tuple(int(x.split("r")[0]) for x in psygnal.__version__.split(".")[:3])
old_psygnal = psyg_v < (0, 6, 1)

@guiclass(slots=True)
class Foo:
Expand Down

0 comments on commit 0bb5323

Please sign in to comment.