Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from evalsupport import ClassThree
- print '<[1]> evaltime module start'
- class ClassOne(object):
- print '<[2]> ClassOne body'
- def __init__(self):
- print '<[3]> ClassOne.__init__'
- def __del__(self):
- print '<[4]> ClassOne.__del__'
- def method_x(self):
- print '<[5]> ClassOne.method_x'
- class ClassTwo(object):
- print '<[6]> ClassTwo body'
- if __name__ == '__main__':
- print '<[11]> ClassOne tests', 30 * '.'
- one = ClassOne()
- one.method_x()
- print '<[12]> ClassThree tests', 30 * '.'
- three = ClassThree()
- three.method_y()
- print '<[14]> evaltime module end'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement