Issue 1208: improve bin/test to execute tests with decorators http://code.google.com/p/sympy/issues/detail?id=1208
New issue report by ondrej.certik: [EMAIL PROTECTED]:~/repos/sympy$ bin/test sympy/mpmath/tests/test_linalg.py -k precision ============================= test process starts ============================== executable: /usr/bin/python (2.5.2-final-0) sympy/mpmath/tests/test_linalg.py[0] [OK] =================== tests finished: 0 passed in 0.02 seconds =================== [EMAIL PROTECTED]:~/repos/sympy$ py.test sympy/mpmath/tests/test_linalg.py -k precision ============================= test process starts ============================== executable: /usr/bin/python (2.5.2-final-0) using py lib: /usr/lib/python2.5/site-packages/py <rev unknown> sympy/mpmath/tests/test_linalg.py[11] .ssssssssss __________________________ reasons for skipped tests ___________________________ Skipped in /usr/lib/python2.5/site-packages/py/test/collect.py:184 reason: Skipped: "test not selected by keyword 'precision'" ============= tests finished: 1 passed, 10 skipped in 0.14 seconds ============= This is because the test is declared with: @extradps(50) def test_precision(): A = randmatrix(10, 10) assert mnorm_1(inverse(inverse(A)) - A) < 1.e-45 so the test looks like its name is extradps. Is there some way to retreive the name of the function from the decorator wrapper on the fly? Issue attributes: Status: Accepted Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---