From 8c3858b01623f9527b57b13c44ff97c67bafb00b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 19 Jan 2014 18:41:55 +0200 Subject: Move tests in basic/tests/ up one level preparating to multiple test dirs. --- tests/basics/fun2.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/basics/fun2.py (limited to 'tests/basics/fun2.py') diff --git a/tests/basics/fun2.py b/tests/basics/fun2.py new file mode 100644 index 0000000000..a3c3e7babf --- /dev/null +++ b/tests/basics/fun2.py @@ -0,0 +1,10 @@ +# calling a function from a function + +def f(x): + print(x + 1) + +def g(x): + f(2 * x) + f(4 * x) + +g(3) -- cgit v1.2.3