mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
bpo-37352: Minor word-smithing for design.rst (GH #14730)
This commit is contained in:
parent
6a61714cde
commit
a0f7119f15
1 changed files with 5 additions and 5 deletions
|
@ -641,11 +641,11 @@ to the end of some internal list; an interface specification cannot test that
|
||||||
your :meth:`append` implementation will actually do this correctly, but it's
|
your :meth:`append` implementation will actually do this correctly, but it's
|
||||||
trivial to check this property in a test suite.
|
trivial to check this property in a test suite.
|
||||||
|
|
||||||
Writing test suites is very helpful, and you might want to design your code with
|
Writing test suites is very helpful, and you might want to design your code to
|
||||||
an eye to making it easily tested. One increasingly popular technique,
|
make it easily tested. One increasingly popular technique, test-driven
|
||||||
test-directed development, calls for writing parts of the test suite first,
|
development, calls for writing parts of the test suite first, before you write
|
||||||
before you write any of the actual code. Of course Python allows you to be
|
any of the actual code. Of course Python allows you to be sloppy and not write
|
||||||
sloppy and not write test cases at all.
|
test cases at all.
|
||||||
|
|
||||||
|
|
||||||
Why is there no goto?
|
Why is there no goto?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue