[TIP] RFC: Adding a __loader__ attribute to tests.

Robert Collins robertc at robertcollins.net
Sun Nov 16 15:05:55 PST 2014


I'm pondering the idea of tracking what created tests - similar to the
new __spec__ in modules.

Motivation - to be able to link back to the origin of a test (which
can be complex with things like doctests and test multipliers.

First impressions from folk?

-Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the testing-in-python mailing list