boris
7f90e74e02
label code blocks
2019-08-06 13:25:54 -07:00
boris
cf7761f91f
ran pyupgrade-docs
2019-08-06 12:40:27 -07:00
Bruno Oliveira
68c486a25f
Add CHANGELOG for 4.6.5 ( #5696 ) ( #5699 )
...
Add CHANGELOG for 4.6.5 (#5696 )
2019-08-05 16:25:24 -03:00
Bruno Oliveira
f43b54aaeb
Add CHANGELOG for 4.6.5 ( #5696 )
2019-08-05 15:09:31 -03:00
Daniel Hahler
bf3aa72a29
Merge pull request #5697 from blueyed/fix-collect-pkg-init
...
Fix RuntimeError when trying to collect package with "__init__.py" only
2019-08-05 18:20:28 +02:00
Daniel Hahler
198fcd8a6f
Fix RuntimeError when trying to collect package with "__init__.py" only
...
Fixes https://github.com/pytest-dev/pytest/issues/4344 .
2019-08-05 17:52:21 +02:00
Anthony Sottile
1a66a503b6
Merge pull request #5690 from nicoddemus/custom-exit-code-docs
...
Mention pytest-custom_exit_code in the docs
2019-08-04 19:10:36 -07:00
Anthony Sottile
82763a293a
Merge pull request #5684 from nicoddemus/errno-nomore
...
Use OSError subclasses instead of handling errno
2019-08-04 14:50:12 -07:00
Anthony Sottile
73e0bf92f7
Merge pull request #5694 from yashtodi94/public_access_to_exitcode_doc_change
...
Added info to access exitcodes directly
2019-08-04 14:48:23 -07:00
Yash Todi
0d5ed57b40
Added info to access exitcodes directly
2019-08-04 22:35:51 +05:30
Bruno Oliveira
8db6642515
Mention pytest-custom_exit_code in the docs
...
Related to #5689
2019-08-03 10:15:56 -03:00
Bruno Oliveira
d3e1907899
Use OSError subclasses instead of handling errno
2019-08-02 14:17:46 -03:00
Bruno Oliveira
0d3958e8de
Handle only known functions in rm_rf ( #5627 )
...
Handle only known functions in rm_rf
2019-08-02 10:23:12 -03:00
Daniel Hahler
9064eea216
Improve rm_rf to handle only known functions
...
Warnings are emitted if we cannot safely remove
paths.
Fix #5626
2019-08-02 08:18:11 -03:00
Bruno Oliveira
dc6e7b9fcf
Cache splitnode results to improve tests collection time ( #5681 )
...
Cache splitnode results to improve tests collection time
2019-08-01 22:32:19 -03:00
Alexey Zankevich
b43ebb7d65
Cache split nodes results to reduce long tests collection time on large test suites
2019-08-01 20:46:27 -04:00
Anthony Sottile
8a5e72c936
Merge pull request #5682 from nicoddemus/disable-shallow-copy
...
Disable shallow cloning because of setuptools-scm
2019-08-01 09:28:26 -07:00
Bruno Oliveira
cd924b66ca
Disable shallow cloning because of setuptools-scm
...
setuptools-scm needs all tags to guess the version correctly
2019-08-01 12:29:39 -03:00
Anthony Sottile
1076a7e61d
Merge pull request #5680 from ss18/ss18/pr0
...
Fix some typos
2019-08-01 08:18:48 -07:00
Bruno Oliveira
cff58457dd
Fix the confusing different names of `fulltrace` ( #5668 )
...
Fix the confusing different names of `fulltrace`
2019-08-01 10:30:17 -03:00
Semen Zhydenko
b3f4398d64
surpressing -> suppressing
2019-08-01 15:11:38 +02:00
Semen Zhydenko
2ca47cb3f5
programatically -> programmatically
2019-08-01 15:11:26 +02:00
Semen Zhydenko
d19fe3c410
didnt -> didn't
2019-08-01 15:10:39 +02:00
Semen Zhydenko
2de145f372
wasnt -> wasn't
2019-08-01 15:10:06 +02:00
Semen Zhydenko
942fd91995
shouldnt -> shouldn't
2019-08-01 15:09:14 +02:00
Florian Bruhin
cb15e7c700
Merge pull request #5674 from helloocc/master
...
Doc fix: remove redundant parentheses.
2019-07-30 10:46:29 +02:00
Xixi Zhao
2959fb3198
Doc fix: remove redundant parentheses.
2019-07-30 16:18:22 +08:00
Kaiqi
aa13c625da
Change the warning message
2019-07-27 21:06:29 +02:00
Kaiqi
958374addb
Remove name from author
2019-07-27 17:26:52 +02:00
Kaiqi
6c2f673daf
Have same name for fulltrace
2019-07-27 17:25:23 +02:00
Anthony Sottile
fd2fb36eac
Merge pull request #5665 from hroncok/i5664
...
In test_xfail_handling, only remove __pycache__ if it exists
2019-07-25 18:35:35 -07:00
Miro Hrončok
ab39502c98
In test_xfail_handling, only remove __pycache__ if it exists
...
Previously, the test failed when the directory was not present,
which could have been caused for example by invoking the tests
with PYTHONDONTWRITEBYTECODE=1.
Fixes https://github.com/pytest-dev/pytest/issues/5664
2019-07-26 02:23:14 +02:00
Bruno Oliveira
50c7b5d2b5
fix setenv prepend docs ( #5658 )
...
fix setenv prepend docs
2019-07-24 20:11:05 -03:00
Thomas Grainger
3bdcd6b4f3
Update doc/en/monkeypatch.rst
2019-07-24 20:49:31 +01:00
Bruno Oliveira
d89c88478d
Merge pull request #5657 from helloocc/master
...
Doc fix: delete useless.
2019-07-24 15:22:58 -03:00
Thomas Grainger
635916052c
fix setenv prepend docs
2019-07-24 17:23:48 +01:00
Bruno Oliveira
bd34bd872a
fix docs about syspath_prepend ( #5656 )
...
fix docs about syspath_prepend
2019-07-24 13:19:05 -03:00
helloocc
1d8f668e10
Add author.
2019-07-24 23:44:37 +08:00
helloocc
28343bdcbd
Merge remote-tracking branch 'upstream/master'
2019-07-24 23:35:22 +08:00
Thomas Grainger
ebfe8eabf5
Update doc/en/monkeypatch.rst
2019-07-24 14:27:51 +01:00
Thomas Grainger
829cc5a242
fix docs about syspath_prepend
...
eg it does not modify $PATH
2019-07-24 14:27:05 +01:00
Bruno Oliveira
7fa27485df
Merge pull request #5648 from nicoddemus/improve-exc-info-changelog
...
Make ExceptionInfo.repr change more prominent
2019-07-23 21:24:48 -03:00
Bruno Oliveira
b2839c4084
Merge pull request #5646 from nicoddemus/mark-info-docs
...
Update MarkDecorator docs
2019-07-23 16:42:11 -03:00
Bruno Oliveira
880e368607
Merge pull request #5653 from blueyed/fix-test
...
Followup: unittest: handle outcomes.Exit
2019-07-23 15:09:24 -03:00
Daniel Hahler
b9111fe677
Fix changelog
2019-07-23 19:38:33 +02:00
Daniel Hahler
401c3d1109
tests: unittest: fix/harden "test_exit_outcome"
...
Ref: https://github.com/pytest-dev/pytest/pull/5634#pullrequestreview-265565917
2019-07-23 19:35:51 +02:00
Bruno Oliveira
2a724a1c81
Fix fixture example and regendocs ( #5651 )
...
Fix fixture example and regendocs
2019-07-23 11:53:13 -03:00
Bruno Oliveira
52ad5a1591
Improve output when parsing an ini configuration fails ( #5650 )
...
Improve output when parsing an ini configuration fails
2019-07-23 11:17:42 -03:00
Bruno Oliveira
f163b37f6a
Run regen
2019-07-23 10:00:35 -04:00
Bruno Oliveira
a82dd2f064
Fix linting
2019-07-23 10:55:22 -03:00