From 2e67e464816d118d131232a61d170185690a32ab Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 5 Nov 2010 18:30:15 +0100 Subject: [PATCH] extended test case for builtin pow() --- tests/run/builtin_pow.pyx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/run/builtin_pow.pyx b/tests/run/builtin_pow.pyx index 8b4b4f04..cb28160a 100644 --- a/tests/run/builtin_pow.pyx +++ b/tests/run/builtin_pow.pyx @@ -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) -- 2.26.2