How can I import unnecessary_math?
fl
rxjwg98 at gmail.com
Thu Jul 24 13:54:28 EDT 2014
More information about the Python-list mailing list
Thu Jul 24 13:54:28 EDT 2014
- Previous message (by thread): How can I import unnecessary_math?
- Next message (by thread): How can I import unnecessary_math?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thursday, July 24, 2014 1:48:02 PM UTC-4, fl wrote: > On Thursday, July 24, 2014 1:37:49 PM UTC-4, Chris Angelico wrote: > > > On Fri, Jul 25, 2014 at 3:33 AM, fl <rx... at gmail.com> wrote: > > Thanks. The source of that snippet is from this link: > > > http://pythontesting.net/framework/nose/nose-introduction/ > > > I do not find any idea on that module yet. It is also a question about the symbol '@' on that link. I don't find an explanation about '@' yet. Could you tell me? Thanks, @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 @with_setup(my_setup_function, my_teardown_function) def test_strings_a_3(): print 'test_strings_a_3 <============================ actual test code' assert multiply('a',3) == 'aaa'
- Previous message (by thread): How can I import unnecessary_math?
- Next message (by thread): How can I import unnecessary_math?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list