Commit 2e67e464 authored by Stefan Behnel's avatar Stefan Behnel

extended test case for builtin pow()

parent ac8c6a9d
......@@ -30,3 +30,12 @@ def pow2_const():
8
"""
return pow(2,3)
def pow_args(*args):
"""
>>> pow_args(2,3)
8
>>> pow_args(2,3,5)
3
"""
return pow(*args)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment