File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -581,9 +581,9 @@ exhaustive test suites that exercise every line of code in a module.
581581An appropriate testing discipline can help build large complex applications in
582582Python as well as having interface specifications would. In fact, it can be
583583better because an interface specification cannot test certain properties of a
584- program. For example, the :meth: `append ` method is expected to add new elements
584+ program. For example, the :meth: `!list. append ` method is expected to add new elements
585585to the end of some internal list; an interface specification cannot test that
586- your :meth: `append ` implementation will actually do this correctly, but it's
586+ your :meth: `!list. append ` implementation will actually do this correctly, but it's
587587trivial to check this property in a test suite.
588588
589589Writing test suites is very helpful, and you might want to design your code to
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ Doc/c-api/typeobj.rst
2424Doc/c-api/unicode.rst
2525Doc/extending/extending.rst
2626Doc/extending/newtypes.rst
27- Doc/faq/design.rst
2827Doc/faq/gui.rst
2928Doc/faq/library.rst
3029Doc/glossary.rst
You can’t perform that action at this time.
0 commit comments