This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients brett.cannon, serhiy.storchaka, terry.reedy
Date 2016-01-02.00:10:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451693417.78.0.803848924144.issue25983@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-01-02 00:10:17terry.reedysetrecipients: + terry.reedy, brett.cannon, serhiy.storchaka
2016-01-02 00:10:17terry.reedysetmessageid: <1451693417.78.0.803848924144.issue25983@psf.upfronthosting.co.za>
2016-01-02 00:10:17terry.reedylinkissue25983 messages
2016-01-02 00:10:17terry.reedycreate