Commit Graph

6132 Commits

Author SHA1 Message Date
Jason R. Coombs 2abf2070f2 Collapse nested for loops into a generator expression 2017-05-20 04:38:30 -04:00
Jason R. Coombs ce0ff0040f Reindent and add docstring 2017-05-20 04:38:27 -04:00
Jason R. Coombs 6d2e11b7d1 Extract method for _mark_plugins_for_rewrite 2017-05-20 04:18:41 -04:00
Bruno Oliveira 637550b249 Merge pull request #2418 from axil/master
small fix in an example from the docs
2017-05-18 12:24:52 -03:00
Lev Maximov 598aefc686 small fix in an example from the docs 2017-05-18 21:18:09 +07:00
Bruno Oliveira 7af0e6bda1 Merge pull request #2415 from flub/training
Remove past training
2017-05-17 20:57:50 -03:00
Floris Bruynooghe f7247dc99d Remove past training
Leaving the sidebar as an example for in the future.
2017-05-17 22:47:51 +01:00
Florian Bruhin e484f4760f Merge pull request #2412 from pytest-dev/pytest-book-ref
Add a reference to Python testing book to talks docs
2017-05-17 22:52:13 +02:00
Bruno Oliveira 70bcd1fb7b Add a reference to Python testing book to talks docs 2017-05-17 17:17:19 -03:00
Ronny Pfannschmidt 7ee2db23df Merge pull request #2396 from johndgiese/patch-1
Clarify opening paragraph of parameterization docs
2017-05-09 21:36:50 +02:00
David Giese 52c67af63c Clarify opening paragraph of parameterization docs
- Fix a few small grammar mistakes
- Rewrite a few sentences to make them shorter and easier to read
2017-05-09 10:02:08 -04:00
Ronny Pfannschmidt 3fc917a261 Merge pull request #2385 from nicoddemus/anaconda-badge
Add badge for anaconda package version
2017-05-03 07:07:52 +02:00
Ronny Pfannschmidt 814ea9d62c Merge pull request #2387 from nicoddemus/trial-errors
Fix py35-trial environment
2017-05-03 06:52:12 +02:00
Bruno Oliveira 630cca2fba Fix py35-trial environment
After updating to twisted 17.1.0, again the trial tests started to fail; didn't investigate too deep, decided to just
no longer delete "zope" modules when cleaning up after pytester because it seems more zope modules keep
global state that shouldn't be discarded
2017-05-02 21:05:42 -03:00
Florian Bruhin bfd2563b3a Merge pull request #2386 from robin0371/show-correct-msg
Issue #2383 - AssertionError with wrong number of parametrize arguments
2017-04-29 14:57:01 +02:00
Vitaly Lashmanov 60b8339166 Issue #2383 - Show the correct error message when collect "parametrize" func with wrong args and add test for this case. 2017-04-29 14:32:09 +03:00
Bruno Oliveira 34f488757f Add badge for anaconda package version 2017-04-28 12:51:40 -03:00
Bruno Oliveira d7d2249d99 Merge pull request #2378 from szuliq/patch-1
Update docs
2017-04-26 20:55:52 -03:00
Krzysztof Szularz f0533194ed Update fixture.rst
Remove yet another not needed `request` argument in fixture definition.
2017-04-26 10:31:53 +02:00
Krzysztof Szularz a9b44c4529 Update docs
Remove not needed `request` arg in order to simplify the example.
2017-04-25 16:35:19 +02:00
Florian Bruhin 314d4afa57 Merge pull request #2367 from nicoddemus/py36-official-travis
Test against py36 official release for consistency with other python versions
2017-04-21 23:19:20 +02:00
Bruno Oliveira 80225ce72c Merge pull request #2374 from Kodiologist/getmodpath-file-ext
Try not to assume a module's file extension is .py
2017-04-21 16:23:25 -03:00
Kodi Arfer dcefb287fc Try not to assume a module's file extension is .py 2017-04-19 12:26:56 -07:00
Florian Bruhin 581b463b60 Merge pull request #2372 from nicoddemus/pytest-dont-rewrite-docs
Document PYTEST_DONT_REWRITE
2017-04-19 13:49:12 +02:00
Bruno Oliveira 90be44c812 Document PYTEST_DONT_REWRITE
Fixes #2203
2017-04-19 08:19:19 -03:00
Bruno Oliveira 6e2bbe88b1 Test against py36 official release for consistency with other python versions 2017-04-13 17:54:56 -03:00
Bruno Oliveira 7dfdfa5813 Merge pull request #2359 from pytest-dev/fix-2343
Fix #2343: Replace version checks by constants.
2017-04-12 07:58:15 -03:00
Michael Howitz 7d4ac14a31 Fix #2343: Replace version checks by constants.
This way they do not have to be recomputed at runtime.
2017-04-12 08:18:09 +02:00
Bruno Oliveira 47a2a77cb4 Merge pull request #2354 from shobute/patch-1
Corrected documentation typo in fixtures.py
2017-04-07 14:31:36 -03:00
Ben Lloyd 21f1c2b03f Update fixtures.py
Corrected "or or" typo in docstring (and made indentation consistent).
2017-04-07 16:48:38 +01:00
Bruno Oliveira 8c69d5c939 Merge pull request #1940 from skylarjhdownes/master
adding documentation about pointing pytest at source files
2017-04-06 23:40:15 -03:00
Bruno Oliveira f2300fbab2 Fix links in docs 2017-04-06 23:29:41 -03:00
Bruno Oliveira 45852386e5 Fix small typo in docs 2017-04-06 23:02:47 -03:00
Bruno Oliveira 5462697924 Small formatting fixes to nose.rst 2017-04-06 23:01:26 -03:00
Bruno Oliveira 639c592f31 Add missing link in CHANGELOG 2017-04-06 22:59:24 -03:00
Skylar Downes f7caa56a6b moved documentation of conftest.py hack to nose.rst 2017-04-06 18:01:03 -07:00
Skylar Downes 3aa4fb62d6 Merge branch 'master' into master 2017-04-06 16:35:38 -07:00
Bruno Oliveira c734a2d8d5 Merge pull request #2352 from pytest-dev/fix-search-docs
Pin sphinx to 1.4 when generating docs to workaround search issues on RTD
2017-04-06 18:41:30 -03:00
Bruno Oliveira 44a3db3dc6 Pin sphinx to 1.4 when generating docs to workaround search issues on RTD
Fix #2302
2017-04-06 18:09:01 -03:00
Ronny Pfannschmidt 144d90932e Merge pull request #2337 from nicoddemus/2336-unicode-tb
Fix exception formatting while importing test modules
2017-03-30 09:12:14 +02:00
Bruno Oliveira a542ed48a2 Convert using utf-8 instead of ascii in safe_str()
This way we don't lose information and the returned string is
ascii-compatible anyway
2017-03-29 15:18:41 -03:00
Bruno Oliveira 58ac4faf0c Fix exception formatting while importing test modules
Fix #2336
2017-03-29 14:43:13 -03:00
Ronny Pfannschmidt 6cfe087261 Merge pull request #2320 from pawelad/2239/exit-code-docs
Added 'Possible exit codes' section to docs (#2239)
2017-03-20 06:22:23 +01:00
Paweł Adamczak 8b57aaf944 Added 'Paweł Adamczak' to AUTHORS 2017-03-19 18:38:41 +00:00
Paweł Adamczak d58bc14645 Added 'Possible exit codes' section to docs (#2239) 2017-03-19 18:34:43 +00:00
Bruno Oliveira 75ec893d75 Merge pull request #2297 from nicoddemus/init-files-docs
Attempt to clarify the confusion regarding __init__ files and unique test names
2017-03-15 10:53:09 -03:00
Bruno Oliveira 76df77418d Merge pull request #2313 from nicoddemus/DontReadFromInput-exceptions
Dont read from input exceptions
2017-03-15 10:51:13 -03:00
Bruno Oliveira aad4946fb6 Move CHANGELOG entry for #2276 to 3.0.8 2017-03-14 18:58:28 -03:00
Xander Johnson 9062fbb9cc Add AUTHORS & CHANGELOG 2017-03-14 18:55:58 -03:00
Xander Johnson dc6890709e Change ValueError to io.UnsupportedOperation in capture.py. Resolves issue #2276 2017-03-14 18:55:58 -03:00