Re: allowing output of code that is unittested?

2009-07-16 Thread Ulrich Eckhardt
per wrote: > i am using the standard unittest module to unit test my code. my code > contains several print statements which i noticed are repressed when i > call my unit tests using: > > if __name__ == '__main__': > suite = unittest.TestLoader().loadTestsFromTestCase(TestMyCode) > unittes

Re: allowing output of code that is unittested?

2009-07-15 Thread Diez B. Roggisch
per schrieb: hi all, i am using the standard unittest module to unit test my code. my code contains several print statements which i noticed are repressed when i call my unit tests using: if __name__ == '__main__': suite = unittest.TestLoader().loadTestsFromTestCase(TestMyCode) unittest

allowing output of code that is unittested?

2009-07-15 Thread per
hi all, i am using the standard unittest module to unit test my code. my code contains several print statements which i noticed are repressed when i call my unit tests using: if __name__ == '__main__': suite = unittest.TestLoader().loadTestsFromTestCase(TestMyCode) unittest.TextTestRunner