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...@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'
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to