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

17
tests/basics/class2.py Normal file
View File

@@ -0,0 +1,17 @@
# class with __init__
class C1:
def __init__(self):
self.x = 1
c1 = C1()
print(type(c1) == C1)
print(c1.x)
class C2:
def __init__(self, x):
self.x = x
c2 = C2(4)
print(type(c2) == C2)
print(c2.x)