Move tests in basic/tests/ up one level preparating to multiple test dirs.

This commit is contained in:
Paul Sokolovsky
2014-01-19 18:41:55 +02:00
parent a11ceca807
commit 8c3858b016
87 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
# test class with __add__ and __sub__ methods
class C:
def __init__(self, value):
self.value = value
def __add__(self, rhs):
print(self.value, '+', rhs)
def __sub__(self, rhs):
print(self.value, '-', rhs)
c = C(0)
c + 1
c - 2