effectivepython icon indicating copy to clipboard operation
effectivepython copied to clipboard

Item 78: page 373, wrong cross-reference: says “see Item 76”, should be “see Item 77”

Open kirisakow opened this issue 2 years ago • 1 comments

(2nd ed) See paragraph which starts with the words “patch works for many modules, ...”:

There is a wrong cross-reference:

in the setUp and tearDown methods of TestCase classes (see Item 76: “Verify Related Behaviors in TestCase Subclasses”).

which should be:

in the setUp and tearDown methods of TestCase classes (see Item 77: “Isolate Tests from Each Other with setUp, tearDown, setUpModule, and tearDownModule”).

kirisakow avatar Aug 17 '22 17:08 kirisakow

Thank you for the report! I agree, that's the better reference.

bslatkin avatar Jun 01 '24 16:06 bslatkin