Skip to content

Commit 525ce1f

Browse files
author
Sylvain MARIE
committed
Removed skip mark on test for issue 34 as it is already solved
1 parent f9409ad commit 525ce1f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/test_issues.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@
1313
from makefun import wraps, with_signature, partial, create_function
1414

1515

16-
@pytest.mark.skip("known to fail")
17-
def test_wraps_varpositional():
16+
def test_wraps_varpositional_issue_34():
1817
""" test for https://github.com/smarie/python-makefun/issues/34 """
1918
def f(a, *args):
20-
pass
19+
return a, args
2120

2221
@wraps(f)
2322
def foo(*args, **kwargs):
2423
return f(*args, **kwargs)
2524

26-
foo('hello', 12)
25+
assert foo('hello', 12) == ("hello", (12,))
2726

2827

2928
def test_varpositional2():

0 commit comments

Comments
 (0)