Anthony Sottile
ede8b87560
Merge pull request #5438 from nicoddemus/result-log-deprecation
...
Postpone removal of --result-log to pytest 6.0
2019-06-12 10:45:02 -07:00
Bruno Oliveira
52780f39ce
Postpone removal of --result-log to pytest 6.0
...
As we did not provide an alternative yet, it is better to postpone
the actual removal until we have provided a suitable and stable
alternative.
Related to #4488
2019-06-12 08:26:11 -03:00
Anthony Sottile
18c2ff6625
Merge pull request #5435 from asottile/release-4.6.3
...
Preparing release version 4.6.3
2019-06-11 09:59:05 -07:00
Ralph Giles
918268774b
Add `slow` marker in run/skip option example.
...
The example implementation of a `--runslow` option results in
a `PytestUnknownMarkWarning`. Include registering the custom
mark in the example, based on the documentation in markers.rst.
2019-06-06 10:15:43 -07:00
Anthony Sottile
be2be040f9
Clean up u' prefixes and py2 bytes conversions
2019-06-04 17:50:34 -07:00
Bruno Oliveira
2a3d643bdf
Documentation: expansion of Monkeypatch to include mocked classes and dictionaries ( #5315 )
...
Documentation: expansion of Monkeypatch to include mocked classes and dictionaries
2019-06-03 19:30:29 -03:00
Anthony Sottile
9657166a22
Merge pull request #5379 from asottile/release-4.6.2
...
Preparing release version 4.6.2
2019-06-03 12:19:42 -07:00
Pulkit Goyal
1d6bbab2b0
Add a new Exceptions section in documentation and document UsageError
2019-06-03 14:23:56 -03:00
Anthony Sottile
4df529e5b9
Clean up __future__ and coding: in tests
2019-06-03 12:08:02 -03:00
Anthony Sottile
a91fe1fedd
pre-commit run pyupgrade --all-files
2019-06-03 12:08:02 -03:00
Anthony Sottile
5034399d7a
pre-commit run fix-encoding-pragma --all-files
2019-06-03 12:08:01 -03:00
Bruno Oliveira
28ac469eaa
Merge pull request #5367 from apollovy/master
...
Fix typo about interpreters count in doc/en/example/parametrize.html
2019-06-02 20:43:53 -03:00
Bruno Oliveira
5999782768
Use python 3 interpreters in example
2019-06-02 19:20:00 -03:00
Bruno Oliveira
6e68532bb3
Merge pull request #5362 from asottile/release-4.6.1 ( #5365 )
...
Merge pull request #5362 from asottile/release-4.6.1
2019-06-02 19:17:29 -03:00
Yuri Apollov
5c016d1021
Fix typo about interpreters count in doc/en/example/parametrize.html
2019-06-02 23:57:22 +03:00
Anthony Sottile
642ef6dc1b
Merge pull request #5362 from asottile/release-4.6.1
...
Preparing release version 4.6.1
2019-06-02 11:47:26 -07:00
Bruno Oliveira
4d49ba6529
Drop Python 2.7 and 3.4 support
...
* Update setup.py requires and classifiers
* Drop Python 2.7 and 3.4 from CI
* Update docs dropping 2.7 and 3.4 support
* Fix mock imports and remove tests related to pypi's mock module
* Add py27 and 34 support docs to the sidebar
* Remove usage of six from tmpdir
* Remove six.PY* code blocks
* Remove sys.version_info related code
* Cleanup compat
* Remove obsolete safe_str
* Remove obsolete __unicode__ methods
* Remove compat.PY35 and compat.PY36: not really needed anymore
* Remove unused UNICODE_TYPES
* Remove Jython specific code
* Remove some Python 2 references from docs
Related to #5275
2019-06-02 14:39:11 -03:00
Hugo
e2ac4b782a
Fix link anchor
2019-06-01 23:27:20 +03:00
Anthony Sottile
e7cd00ac92
Preparing release version 4.6.0
2019-05-31 23:12:57 -07:00
Bruno Oliveira
f9cafd1c94
Add missing junitxml ini options to the reference docs
2019-05-29 21:13:16 -03:00
Evan Kepner
2dfbed11b4
fix path expansion example
2019-05-27 23:23:18 -04:00
Evan Kepner
24c95c78e7
add updated monkeypatch examples
2019-05-27 20:55:15 -04:00
Bruno Oliveira
e38561037d
Update docs about py27 and py34 support plans
...
As discussed in #5275
2019-05-27 19:28:27 -03:00
Bruno Oliveira
66f20b6f5e
Fix invalid Python file encoding "utf8" ( #5252 )
...
Fix invalid Python file encoding "utf8"
2019-05-23 20:24:23 -03:00
Anthony Sottile
45c894b73f
Merge pull request #5297 from nicoddemus/tidelift-contents
...
Add link to tidelift to the main docs
2019-05-21 08:18:07 -07:00
Bruno Oliveira
d391274f39
Add link to tidelift to the main docs
...
As commented in:
https://github.com/pytest-dev/pytest/pull/5240#issuecomment-494175451
2019-05-21 11:12:07 -03:00
oleg-yegorov
c5fa1d1c3e
Update fixture.rst
...
add a missing import
2019-05-21 09:40:31 +03:00
Nikita Krokosh
858010e214
Fixed double `be` word on monkeypatch docs page.
2019-05-16 18:22:41 +10:00
Bruno Oliveira
e44a2ef653
Apply suggestions from code review
...
Co-Authored-By: Daniel Hahler <github@thequod.de>
2019-05-15 20:45:22 -03:00
Bruno Oliveira
c6e3ff3ce5
Mention "-m" in the main mark docs
2019-05-15 20:45:22 -03:00
Bruno Oliveira
a31098a74e
Move section about mark revamp and iteration to historical notes
...
This has been in place for a long time now, since 3.6.
2019-05-15 20:45:22 -03:00
Bruno Oliveira
7e8044f9b8
Revamp the mark section in the docs
...
Add an introductory section about how to register marks,
including doing so programatically (#5255 ).
2019-05-15 20:45:22 -03:00
Anthony Sottile
dc75b6af47
Use fix-encoding-pragma pre-commit hook
2019-05-14 15:56:31 -07:00
Bruno Oliveira
e668aaf885
Fix indentation and use code-block directives
...
The code-block directives are required by our blacken-docs hook
2019-05-14 18:59:27 -03:00
Evan Kepner
ecd072ea94
add env example to monkeypatch docs
2019-05-12 09:52:22 -04:00
Bruno Oliveira
63fe547d9f
Preparing release version 4.5.0
2019-05-11 16:35:32 +00:00
Bruno Oliveira
465b2d998a
Further "unknown marks warning" improvements ( #5178 )
...
Further "unknown marks warning" improvements
2019-05-11 13:28:10 -03:00
Bruno Oliveira
73bbff2b74
Introduce record_testsuite_property fixture
...
This exposes the functionality introduced in fa6acdc
as a session-scoped fixture.
Plugins that want to remain compatible with the `xunit2`
standard should use this fixture instead of `record_property`.
Fix #5202
2019-05-10 19:44:27 -03:00
Bruno Oliveira
0594dba5ce
Remove unused markers and enable --strict-markers
2019-05-09 19:36:39 -03:00
Bruno Oliveira
685ca96c71
Change ``--strict`` to ``--strict-markers``, preserving the old one
...
Fix #5023
2019-05-09 19:36:38 -03:00
Bruno Oliveira
ccf6c3cb46
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2019-05-09 19:22:40 -03:00
Bruno Oliveira
5d7686951c
Run regendoc
2019-05-08 21:50:08 +00:00
Bruno Oliveira
80c5f6e609
Ignore PytestUnknownMark warnings when regen docs
...
A lot of our examples use custom markers to make a point and showcase
features, which generates a lot of warnings
2019-05-08 21:46:26 +00:00
Bruno Oliveira
3ac43314ee
Preparing release version 4.4.2
2019-05-08 12:46:14 -03:00
Anthony Sottile
d1a48ad68f
Use exec directly
2019-05-06 23:07:39 -07:00
Bruno Oliveira
784e1e3b7e
Add links to pytest.raises `message` workaround
...
Related to #3974
2019-05-06 12:35:27 -03:00
Bruno Oliveira
9f66102869
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2019-05-04 10:47:57 -03:00
Don Kirkby
254b195f50
Fix a typo
2019-05-03 22:30:20 -07:00
Bruno Oliveira
af40473c9a
Add quick note about accessing config through session or item objects
...
Fix #5030
2019-05-01 11:46:35 -03:00
Bruno Oliveira
204004c8b8
Review doctest docs ( #5183 )
...
Review doctest docs
2019-04-29 08:02:59 -03:00