unittest vs py.test?
Paul Rubin
http
Sun Apr 3 07:34:44 EDT 2005
"Raymond Hettinger" <vze4rx4y at verizon.net> writes:
> When writing a large suite, you quick come to appreciate being able
> to use assert statements with regular comparision operators, debugging
> with normal print statements, and not writing self.assertEqual over and
> over again. The generative tests are especially nice.
But assert statements vanish when you turn on the optimizer. If
you're going to run your application with the optimizer turned on, I
certainly hope you run your regression tests with the optimizer on.
More information about the Python-list
mailing list