Re: Can someone please make it more pythonic or better?

2010-04-19 Thread J Kenneth King
Oltmans rolf.oltm...@gmail.com writes: Greetings Python superstars, I've a directory structure like following tests / __init__.py testfile.py testfile.py contains following code import unittest class Calculator(unittest.TestCase): def test_add(self): print

Can someone please make it more pythonic or better?

2010-04-17 Thread Oltmans
Greetings Python superstars, I've a directory structure like following tests / __init__.py testfile.py testfile.py contains following code import unittest class Calculator(unittest.TestCase): def test_add(self): print 'just add' def test_divide(self):