How can I import unnecessary_math?
fl
rxjwg98 at gmail.com
Thu Jul 24 14:18:54 EDT 2014
On Thursday, July 24, 2014 1:58:45 PM UTC-4, Chris Angelico wrote:
> On Fri, Jul 25, 2014 at 3:54 AM, fl <rxjw.. at gmail.com> wrote:
> > @with_setup(my_setup_function, my_teardown_function)
> > def test_numbers_3_4():
> > print 'test_numbers_3_4 <============================ actual test code'
> > assert multiply(3,4) == 12
>
> That's a function decorator. You can look them up on the web now that
>
> you know what they're called. :)
>
>
> ChrisA
Thanks, I find the source of unnecessary_math at
http://pythontesting.net/framework/doctest/doctest-introduction/
More information about the Python-list
mailing list