summaryrefslogtreecommitdiff
path: root/tests/compile/branch_hints.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/branch_hints.pyx')
-rw-r--r--tests/compile/branch_hints.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compile/branch_hints.pyx b/tests/compile/branch_hints.pyx
index 575ee6cba..e6bd0b5c3 100644
--- a/tests/compile/branch_hints.pyx
+++ b/tests/compile/branch_hints.pyx
@@ -82,7 +82,7 @@ def if_elif_raise_else_raise(x):
"//IfClauseNode[@branch_hint = 'likely']",
"//IfClauseNode[not(@branch_hint)]",
)
-cpdef int nogil_if_raise(int x) nogil except -1:
+cpdef int nogil_if_raise(int x) except -1 nogil:
if x:
raise TypeError()
elif not x: