Skip to content

Commit 0bb5323

Browse files
authored
fix: fix psygnal rc version parsing (#533)
1 parent 2ee3c83 commit 0bb5323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_gui_class.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ class Foo:
8787
def test_slots_guiclass():
8888
"""Test that the guiclass decorator works as expected."""
8989

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

9393
@guiclass(slots=True)
9494
class Foo:

0 commit comments

Comments
 (0)