54 Commits

Author SHA1 Message Date
Lokesh Dhakal 46ff6a600f Minor Polishes 2020-11-22 21:30:35 +01:00
pyfisch 140f1039ac Remove section on unittest2
Only needed for Python 2.6 and below
2020-08-29 22:47:06 +02:00
Martin Michlmayr 69277aa1f5 Fix some typos 2019-05-13 15:49:04 +08:00
Andrew Janke 808eb3a286 Fix redirected and broken links 2019-03-05 00:52:49 -05:00
Benjamin Lee 2bcf5e9a82 Fix grammar mistake
No comma before "and": https://www.grammarly.com/blog/comma-before-and/
2019-01-10 11:38:36 -06:00
Andrew Janke eb6ec70706 Typo, grammar, and style fixes 2018-12-17 17:23:26 -05:00
Marc Poulin 35c13bc9ea Fixed all H2 headings
Before, H2 fomratting was not consistent.
Now, all H2 headings use over/under asterisks.
2018-12-04 13:44:41 -07:00
Dan Bader 03ed5fbf0d Host photos locally 2018-07-16 17:51:29 -07:00
Prodesire 59757273d0 fix make error on ci.rst and tests.rst 2017-12-04 22:17:08 +08:00
Zac-HD ce7530bc70 New testing tool: Hypothesis
Based on README at https://github.com/HypothesisWorks/hypothesis-python
2017-11-27 13:58:59 +11:00
Zac-HD eaaddf5931 Nose is deprecated, remove suggestion
https://nose.readthedocs.io now suggests using nose2, which
https://github.com/nose-devs/nose2 in turn has ceased feature
development due to the popularity of py.test.

Closes #683
2017-11-27 13:25:30 +11:00
kennethreitz 223cfa99ad Update tests.rst 2017-09-04 16:50:56 -04:00
kennethreitz 6305cefad7 Update tests.rst 2017-09-04 16:50:01 -04:00
kennethreitz 9c0c28d604 Update tests.rst 2017-09-04 16:49:37 -04:00
sbstn mssr 62956e9c8b pytest url fix
pytest site url was brokenly pointing to https://docs.pytest.org/latest/.
2017-05-08 16:36:27 -04:00
caimaoy 1b2a943ad8 update tox docs url 2016-11-22 18:36:08 +08:00
Adam Chainz af7d603e97 Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-09-21 08:31:09 +01:00
kikisdeliveryservice 122f67bf05 Clean up of tests.rst 2016-06-21 13:06:58 -07:00
remcodraijer 02d68a86ed Changed summary line of docstring to follow PEP 0257 - update
Quoting https://www.python.org/dev/peps/pep-0257/#one-line-docstrings

"The docstring is a phrase ending in a period. It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ...".
2016-03-24 12:33:39 +01:00
remcodraijer 6b4d013f52 Changed summary line of docstring to follow PEP 0257
Quoting https://www.python.org/dev/peps/pep-0257/#one-line-docstrings

The docstring is a phrase ending in a period. It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ...".
2016-03-24 12:27:57 +01:00
Vincent Zee 7e385158c7 Corrected lines to be no longer than 78 characters 2015-03-01 16:27:06 +01:00
Gerard Ryan aa951a138d Fix minor type in tests.rst: is -> in 2015-01-05 12:08:51 +00:00
Mary Brennan db1a94fd43 copy edits 2014-12-06 11:55:30 -08:00
george e7f0d1fa8f Minor fixes for writing/tests. 2014-06-17 12:48:53 -06:00
Simeon Visser 71187f4274 Changed python into Python where needed 2014-05-25 20:58:19 +02:00
kuyan 2cff35ef30 Revise Unittest section description 2014-04-14 17:32:11 -07:00
kuyan 1800feb118 Wrap lines at 78 char as much as possible. 2014-04-14 17:08:22 -07:00
kuyan 00ebb59a19 Use :mod: tag for modules 2014-04-14 17:01:29 -07:00
kuyan ef998acd2b Revised semantics in section 'mock' 2014-04-14 13:42:03 -07:00
Zearin fe8e11c8e9 writing/tests.rst: Unbold “`mock`” 2014-03-31 10:48:12 -04:00
Zearin 1e4b4a5460 docs/**: Specify language for code-blocks (syntax highlighting! mmm…) 2014-03-28 13:26:24 -04:00
Ian Cordasco eec36320eb Add link to stdlib mock 2014-03-15 18:12:50 -05:00
Ian Cordasco f579b1d922 Add note about mock in Python 3.3
Closes #170
2014-03-15 16:22:20 -05:00
Nelson Chen 0506020a7f Update tests.rst
s/has names/have names/
2014-03-13 15:50:29 -07:00
Jeff Hammerbacher ca240c2479 "faster on tracks" => "back on track faster" 2014-02-22 18:59:01 -05:00
Duta 18c3e05e26 Minor wording correction and changed some code-block tags to be python 2013-08-12 13:31:18 +01:00
kuyan 0fd1b7a9ab Use code tags where needed. 2013-08-03 19:12:18 -07:00
kuyan 6753406a40 Declare code block language, fix formatting 2013-07-30 13:19:31 -07:00
kuyan b6f014342d Use the :pep: tag instead of directly linking PEPs 2013-07-30 13:05:56 -07:00
Roland van Laar 93cb68e308 Fix link to tox documentation. 2013-07-20 09:08:59 +02:00
Arthur Loder 8d6f737438 minor formatting changes. 2013-06-21 22:35:10 -04:00
barisumog f7c306e206 minor typos 2013-03-01 11:13:33 +02:00
Mark Veronda be9a256367 Fixed some type-os 2012-12-07 16:55:03 -05:00
Roger Barnes 3b902fe090 Add examples to section on mock 2012-09-19 16:46:54 +10:00
Roger Barnes b96b11fe59 Add mock library to testing page 2012-09-18 21:04:14 +10:00
Ryan Campbell 1d63c913bf Fix spelling in writing/tests.rst 2012-07-03 21:56:06 -06:00
Jens Rantil bdcfd1e221 Minor spelling fix 2012-06-10 18:53:37 +02:00
Tomas Thor Jonsson 70ca1a8cef lines less than 80 chars in /writing/ 2012-04-23 20:24:39 +02:00
Juarez Bochi 1fb99e5242 Fixed some typos in writing/tests 2012-04-21 17:39:23 -03:00
guibog 9944385417 Adding a bunch on unit tests 2012-04-21 21:35:04 +08:00