@@ -0,0 +1,387 @@
+# -*- coding: utf-8 -*-%0Aimport time%0Afrom splendid import time_func%0A%0A%0Adef foo(*args, **kwds):%0A    return args, kwds%0A%0A%0At, r = time_func(foo, 1, 2, 3, bar=4, bla='blub')%0Aassert isinstance(t, float)%0Aassert t %3C 1.%0Aassert r == ((1, 2, 3), %7B'bar': 4, 'bla': 'blub'%7D)%0A%0A%0Adef foo_wait(a, b):%0A    time.sleep(1.25)%0A    return a + b%0A%0A%0At, r = time_func(foo_wait, 1, b=2)%0Aassert t %3E 1.25%0Aassert r == 3%0A

test for time_func