diff --git a/pykat/testing/test.py b/pykat/testing/test.py index 9d1b76e21019b3568af2164d824ea89dcb205a59..fc08b8ac81cdc70d462e498f6de08fe8ad2e0fdf 100644 --- a/pykat/testing/test.py +++ b/pykat/testing/test.py @@ -174,7 +174,7 @@ class FinesseTestProcess(Thread): if not os.path.exists(FINESSE_EXE): raise Exception("Kat file was not found in " + FINESSE_EXE) - if os.access(FINESSE_EXE, os.X_OK)): + if not os.access(FINESSE_EXE, os.X_OK)): raise Exception("Kat file was not executable, could need higher privileges") out = None