[docs] Python Documentation: Grammar Error in 'unittest' documentation: "associate -> associated"

Lowe, Paul (CORP) Paul.Lowe at ADP.com
Mon Dec 17 17:37:23 EST 2018


FYI:

https://docs.python.org/3/library/unittest.html

A test fixture represents the preparation needed to perform one or more tests, and any ***associated*** cleanup actions. This may involve, for example, creating temporary or proxy databases, directories, or starting a server process.

---------------------------------------------------------------------------------

unittest<https://docs.python.org/3/library/unittest.html#module-unittest> - Unit testing framework

Source code: Lib/unittest/__init__.py<https://github.com/python/cpython/tree/3.7/Lib/unittest/__init__.py>

________________________________

(If you are already familiar with the basic concepts of testing, you might want to skip to the list of assert methods<https://docs.python.org/3/library/unittest.html#assert-methods>.)

The unittest<https://docs.python.org/3/library/unittest.html#module-unittest> unit testing framework was originally inspired by JUnit and has a similar flavor as major unit testing frameworks in other languages. It supports test automation, sharing of setup and shutdown code for tests, aggregation of tests into collections, and independence of the tests from the reporting framework.

To achieve this, unittest<https://docs.python.org/3/library/unittest.html#module-unittest> supports some important concepts in an object-oriented way:
test fixture
A test fixture represents the preparation needed to perform one or more tests, and any ***associated*** cleanup actions. This may involve, for example, creating temporary or proxy databases, directories, or starting a server process.

----------------------------------------------------------------------
This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20181217/c804c094/attachment.html>


More information about the docs mailing list