Daniel Hahler
4a49715614
tox.ini: pexpect: use posargs; cleanup posargs
...
- no need for {posargs:testing} really
- remove `-ra`, used with addopts already
2018-10-14 00:08:46 +02:00
Bruno Oliveira
27d2683a02
Merge pull request #4134 from blueyed/minor
...
Minor: code style / constant
2018-10-13 16:13:02 -03:00
Bruno Oliveira
792f365c14
Merge pull request #4136 from luziferius/patch-1
...
docs: deprecation.rst: Add missing arguments to example code
2018-10-13 16:12:49 -03:00
Thomas Hess
91b2797498
docs: deprecation.rst: Add missing arguments to code example
...
In the proposed new style using `@pytest.mark.parametrize`,
the example function signature missed the actual arguments.
Add the missing arguments
2018-10-13 20:33:31 +02:00
Daniel Hahler
c27c8f41a8
Merge pull request #4123 from blueyed/clarify
...
tests: clarify/document/harden acceptance tests
2018-10-13 18:26:10 +02:00
Daniel Hahler
ee54fb9a6b
pytester: use EXIT_INTERRUPTED
2018-10-13 17:06:40 +02:00
Daniel Hahler
10ddc466bf
minor: typo and code style
2018-10-13 17:06:40 +02:00
Daniel Hahler
6bf4692c7d
acceptance_test: clarify/document/fix tests
...
Ref: e2e6e31711 (r30863971)
2018-10-13 14:41:17 +02:00
Daniel Hahler
81426c3d19
tests: harden test_cmdline_python_package_symlink
2018-10-13 14:41:12 +02:00
Bruno Oliveira
eabf15b626
Merge pull request #4125 from nicoddemus/docs-baseline
...
Run docs, doctesting and linting in the same job to save some CI time
2018-10-12 21:01:59 -03:00
Bruno Oliveira
2dc619cbf4
Run docs, doctesting and linting in the same environment to save some CI time
2018-10-12 13:35:27 -03:00
Ankit Goel
d46b6b2bc3
Merge pull request #4121 from labcodes/3713
...
Update usefixtures documentation
2018-10-12 19:08:40 +05:30
Jose Carlos Menezes
dbaa9464ba
Update usefixtures documentation
...
Clarifying that it can't be used with fixture functions
2018-10-12 09:45:49 -03:00
Bruno Oliveira
0f5263cdc3
Merge pull request #4109 from njonesu/master
...
Fix multiple string literals on a line #4093
2018-10-11 15:50:08 -03:00
Bruno Oliveira
e20987ce82
Merge pull request #4110 from blueyed/pdb
...
tests: fixes for pdbpp
2018-10-11 08:43:24 -03:00
Bruno Oliveira
c9a85b0e78
Fix linting
2018-10-10 19:54:39 -03:00
Daniel Hahler
be511c1a05
tests: add missing expect before sendeof for pdbpp
...
With pdb++ this additional `expect` is required, otherwise `sendeof()`
will block forever.
2018-10-10 20:50:49 +02:00
Daniel Hahler
f36f9d2698
tests: fix/clarify expect for Pdb
...
`expect()` expects an regular expression, so "Pdb" is equivalent to
"(Pdb)".
But instead of escaping the parenthesis this patch removes them, to
allow for matching "(Pdb++)", too.
2018-10-10 20:50:49 +02:00
Niklas JQ
d1322570dd
Fix issue 4093
2018-10-10 19:45:07 +02:00
Niklas JQ
c14a23d4e4
Fix #4093 : multiple string literals on a line
2018-10-10 19:28:31 +02:00
Anthony Sottile
4b164d947d
Merge pull request #4099 from asottile/re-enable_linting_windows
...
re-enable linting tox env on windows
2018-10-09 15:16:08 -07:00
Anthony Sottile
11a07211b6
re-enable linting tox env on windows
2018-10-09 13:01:51 -07:00
Anthony Sottile
28a3f0fcb9
Revert "Merge pull request #4094 from pytest-dev/asottile/asottile-patch-1"
...
This reverts commit c55d641963
, reversing
changes made to 8393fdd51d
.
2018-10-09 12:50:03 -07:00
Anthony Sottile
b8c30aab2b
Merge pull request #4097 from asottile/improve_doc_plugin_load
...
Fix formatting for plugin loading in conftest
2018-10-09 10:23:04 -07:00
Anthony Sottile
aaaae0b232
Fix formatting for plugin loading in conftest
2018-10-09 09:30:56 -07:00
Anthony Sottile
c55d641963
Merge pull request #4094 from pytest-dev/asottile/asottile-patch-1
...
Temporarily disable `linting` env in appveyor
2018-10-08 22:55:34 -07:00
Anthony Sottile
4ec85f934c
Temporarily disable `linting` env in appveyor
2018-10-08 22:54:32 -07:00
Ronny Pfannschmidt
8393fdd51d
Merge pull request #4089 from asottile/upgrade_hooks
...
Upgrade pre-commit hooks
2018-10-09 07:43:28 +02:00
Anthony Sottile
e8c10d4a98
Merge pull request #4090 from asottile/faster_tests
...
Improve performance of ~3 of the slowest tests
2018-10-08 17:07:10 -07:00
Anthony Sottile
a86035625c
Increase recursion limit (broke xdist tests)
2018-10-08 12:57:45 -07:00
Anthony Sottile
4f631440be
Use RuntimeError for py27 + py34 compat
2018-10-08 11:47:06 -07:00
Anthony Sottile
3901569f26
Improve performance of ~3 of the slowest tests
2018-10-08 11:12:55 -07:00
Anthony Sottile
689b856cb7
Merge pull request #4088 from Sup3rGeo/bugfix/announcements-name-victor-maryama
...
Renamed Victor to full name.
2018-10-08 10:16:20 -07:00
Anthony Sottile
65545d8fb2
Manual fixups of black formatting
2018-10-08 10:12:42 -07:00
Anthony Sottile
1caf6d5907
Upgrade pre-commit hooks
2018-10-08 10:10:46 -07:00
Victor Maryama
55871c68a4
Renamed Victor to full name.
2018-10-08 18:43:50 +02:00
Ronny Pfannschmidt
66609665f2
Merge pull request #4076 from nicoddemus/unittest-param-fixture-msg
...
Improve error message when TestCase functions use a parametrized fixture
2018-10-06 07:43:57 +02:00
Bruno Oliveira
a1208f5631
Merge pull request #4075 from nicoddemus/dynamic-fixturenames
...
Fix request.fixturenames to return fixtures created dynamically
2018-10-04 09:21:23 -03:00
Anthony Sottile
b098292352
Merge pull request #4069 from asottile/deindent_4066
...
Fix source reindenting by using `textwrap.dedent` directly.
2018-10-03 16:11:51 -07:00
Bruno Oliveira
212937eb3e
Improve error message when TestCase functions use a parametrized fixture
...
Fix #2535
2018-10-03 19:43:46 -03:00
Bruno Oliveira
70c7273640
Fix request.fixturenames to return fixtures created dynamically
...
Fix #3057
2018-10-03 18:50:14 -03:00
Anthony Sottile
e5ab62b1b6
Remove (unused) offset= parameter from deindent()
2018-10-03 13:33:10 -07:00
Anthony Sottile
b8b9e8d41c
Remove duplicate test (tested above)
2018-10-03 10:01:06 -07:00
Bruno Oliveira
e712adc226
Merge pull request #4072 from pecey/tmp/issue-4064
...
Fixes #4064 by correcting the documentation for unit-tests
2018-10-03 12:26:35 -03:00
Palash Chatterjee
f9ac60807c
Fixes #4064 by correcting the documentation for unit-tests
2018-10-03 18:11:09 +05:30
Bruno Oliveira
3f03625a5d
Merge pull request #4070 from jeffreyrack/4058-update-fixture-docs
...
Update documentation to indicate a fixture can be invoked more than once in it's scope.
2018-10-03 08:39:41 -03:00
Jeffrey Rackauckas
c5dec6056f
Fix wording in fixtures doc.
2018-10-02 21:17:53 -07:00
Jeffrey Rackauckas
642847c079
Update documentation on fixture being invoked more than once in a scope.
2018-10-02 20:53:15 -07:00
Anthony Sottile
f102ccc8f0
Fix source reindenting by using `textwrap.dedent` directly.
2018-10-02 16:13:35 -07:00
Bruno Oliveira
20f93ae8fa
Merge pull request #4067 from beneyal/master
...
Add pytest.freeze_includes() to reference
2018-10-02 20:02:37 -03:00