summaryrefslogtreecommitdiff
path: root/tests/basics/fun-callstar.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-07-05 06:14:29 +0100
committerDamien George <damien.p.george@gmail.com>2014-07-05 06:14:29 +0100
commit539681fffd96082ca3b5d18643d4f08f65c47170 (patch)
tree7e6f8332c6e7737b768750e67265bb02b22932e6 /tests/basics/fun-callstar.py
parent0182385ab0b4a1b2e549c92f8f5b621135aeb975 (diff)
tests: Rename test scripts, changing - to _ for consistency.
From now on, all new tests must use underscore. Addresses issue #727.
Diffstat (limited to 'tests/basics/fun-callstar.py')
-rw-r--r--tests/basics/fun-callstar.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/basics/fun-callstar.py b/tests/basics/fun-callstar.py
deleted file mode 100644
index 255563b26..000000000
--- a/tests/basics/fun-callstar.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# function calls with *pos
-
-def foo(a, b, c):
- print(a, b, c)
-
-foo(*(1, 2, 3))
-foo(1, *(2, 3))
-foo(1, 2, *(3,))
-foo(1, 2, 3, *())
-
-# Another sequence type
-foo(1, 2, *[100])
-
-# Iterator
-foo(*range(3))
-
-# method calls with *pos
-
-class A:
- def foo(self, a, b, c):
- print(a, b, c)
-
-a = A()
-a.foo(*(1, 2, 3))
-a.foo(1, *(2, 3))
-a.foo(1, 2, *(3,))
-a.foo(1, 2, 3, *())
-
-# Another sequence type
-a.foo(1, 2, *[100])
-
-# Iterator
-a.foo(*range(3))