Terry J. Reedy added the comment:

I presume that there are existing tests that class statements work.  Is so, 
these implicitly test type(name, bases, namespace).  But I can see value to 
test testing the two phases of class creation separately. Test 'class' with a 
mock type that records the arguments passed, and separately test type 
explicitly.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25983>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to