Hi James

Something similar can already be done, say via

from somewhere import unittest
@unittest
def f():
    # test code goes here

As it's your idea, I suggest you create and put up an implementation on
PyPi, and post again to this list when you have some real-world examples of
the use of this feature.

-- 
Jonathan
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/BLGRJB22HWRCTWGIBSL5AWK6YGHZC5US/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to