Skip to content

Commit f84b51b

Browse files
committed
Fix for false detection of gtk3
1 parent d2dd649 commit f84b51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def check(self):
14621462
raise CheckFailed("Can't build with Travis")
14631463

14641464
if sys.version_info[0] >= 3:
1465-
return "gtk3agg backend does not work on Python 3"
1465+
raise CheckFailed("gtk3agg backend does not work on Python 3")
14661466

14671467
# This check needs to be performed out-of-process, because
14681468
# importing gi and then importing regular old pygtk afterward

0 commit comments

Comments
 (0)