From f58626842bbb2bd3f8446044a44a67180b737f4e Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 11 Dec 2009 13:36:48 +0100 Subject: moved/fixed tests --- test/stuff/test5.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/stuff/test5.py (limited to 'test/stuff/test5.py') diff --git a/test/stuff/test5.py b/test/stuff/test5.py new file mode 100644 index 00000000..682a716f --- /dev/null +++ b/test/stuff/test5.py @@ -0,0 +1,26 @@ +class A: + def foo(self, x): + y = x + 1 + print(y) + return y + + @staticmethod + def zar(): + print("l o l") + +class B(A): + def bar(self, x): + y = self.foo(x) + 3 + print(y) + return y + +class C(): + def foo(self, x): + y = x - 1 + print(y) + return y + +a = C() +A.foo(a, 5) + +B.zar() -- cgit 1.4.1-2-gfad0 9c43a'>this commit mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
summary refs log tree commit diff stats
path: root/ranger/ext/human_readable.py
blob: 1a3d1ec93480c5941c790067d12dc6f57b71576b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36