Skip to content

Commit 6c51835

Browse files
committed
fixup! fixup(Lib/unittest): skipIf,skipUnless that returns a proc not compile...
1 parent 01b6095 commit 6c51835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pylib/Lib/unittest/case_py.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ template skip*(reason; body) =
119119

120120
template skip*(reason: string): untyped =
121121
bind skip, fmtSkip
122-
template temp(p: proc) =
122+
proc temp(p: proc) =
123123
test fmtSkip(astToStr(p), reason):
124124
skip()
125125
temp

0 commit comments

Comments
 (0)