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 rhettinger
Recipients mark.dickinson, rhettinger, serhiy.storchaka
Date 2020-03-31.22:33:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585694009.08.0.905168984325.issue40129@roundup.psfhosted.org>
In-reply-to
Content
I don't think this makes the world better.  It just makes it more intertwined.  Currently, I can read the test code in isolation and understand it.  But with the proposed PR, a person now needs to know more of what is in test_support.  I really like seeing the classes in-line so I know exactly what they are doing and exactly what a test is doing. 

Also, I don't like reinventing another alternative to mocks.  Ideally, we want to minimize the number of things a person has to know in order to read and write our tests.

I understand your desire to factor everything you see, but in so doing you're creating tighter coupling and increasing complexity for the everyday contributor.
History
Date User Action Args
2020-03-31 22:33:29rhettingersetrecipients: + rhettinger, mark.dickinson, serhiy.storchaka
2020-03-31 22:33:29rhettingersetmessageid: <1585694009.08.0.905168984325.issue40129@roundup.psfhosted.org>
2020-03-31 22:33:29rhettingerlinkissue40129 messages
2020-03-31 22:33:28rhettingercreate