effectivepython
effectivepython copied to clipboard
Item 78: page 373, wrong cross-reference: says “see Item 76”, should be “see Item 77”
(2nd ed)
See paragraph which starts with the words “patch works for many modules, ...”:
There is a wrong cross-reference:
in the
setUpandtearDownmethods ofTestCaseclasses (see Item 76: “Verify Related Behaviors inTestCaseSubclasses”).
which should be:
in the
setUpandtearDownmethods ofTestCaseclasses (see Item 77: “Isolate Tests from Each Other withsetUp,tearDown,setUpModule, andtearDownModule”).
Thank you for the report! I agree, that's the better reference.