Daniel Hahler
4c37dca011
.coveragerc: add report section
...
This will allow for "raise NotImplementedError" to indicate code not to
be covered in tests etc.
2019-08-16 01:14:19 +02:00
Daniel Hahler
44c10dbd5f
Merge pull request #5746 from blueyed/codecov-comment-off
...
ci: add codecov.yml to turn comments off
2019-08-16 01:13:19 +02:00
Daniel Hahler
d50198a3ff
ci: add codecov.yml to turn comments off
...
The only benefit for me is to get notified about finished builds, but
that might happen to early anyway. Apart from that they are rather big
and distract from actual comments.
2019-08-15 23:54:03 +02:00
Bruno Oliveira
ac052a98ad
reword a parametrize example sentence ( #5745 )
...
reword a parametrize example sentence
2019-08-15 14:00:30 -03:00
mei-li
f4a84a8dfd
reword a parametrize example sentence
2019-08-15 18:12:18 +02:00
Bruno Oliveira
2d613a03b3
Async result warn ( #5742 )
...
Async result warn
2019-08-15 09:47:56 -03:00
Bruno Oliveira
28c6c5bb71
check that tests that are partial staticmethods are supported ( #5701 )
...
check that tests that are partial staticmethods are supported
2019-08-15 09:12:01 -03:00
Thomas Grainger
6b9d729ed3
also warn on awaitable or async iterable test results
2019-08-15 12:30:44 +01:00
Bruno Oliveira
0ba774a7c3
warn for async generator functions ( #5734 )
...
warn for async generator functions
2019-08-15 08:17:12 -03:00
Bruno Oliveira
0a62c4ac04
Merge pull request #5729 from Stranger6667/issue-5115
...
Do not treat warnings as errors during ``pytest_configure``.
2019-08-15 08:05:15 -03:00
Thomas Grainger
137255816e
Fix collection of staticmethods defined with functools.partial
...
Related to #5701
2019-08-15 08:04:05 -03:00
Thomas Grainger
2f1b192fe6
Issue a warning for async gen functions
...
Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com>
2019-08-15 07:54:10 -03:00
dmitry.dygalo
7183335e62
Capture warnings during ``pytest_configure``
...
Fix #5115
2019-08-15 07:50:27 -03:00
Bruno Oliveira
a295a3ddaf
test_non_ascii_paste_text: mock call to urlopen ( #5728 )
...
test_non_ascii_paste_text: mock call to urlopen
2019-08-12 10:56:38 -03:00
Bruno Oliveira
3b3ce0e799
remove %s formatting from docs ( #5733 )
...
remove %s formatting from docs
2019-08-12 10:21:31 -03:00
boris
3eb4973065
remove %s formatting from docs
2019-08-12 00:09:53 -06:00
Daniel Hahler
0db9dade65
test_non_ascii_paste_text: mock call to urlopen
...
Likely to fix flaky coverage due to requests failing sometimes.
Ref: f7e81dab9a...83a1f4bd66
/changes
2019-08-10 23:30:49 +02:00
Daniel Hahler
a77c83a4c3
Merge pull request #5726 from jdufresne/black
...
Update URL: python/black → psf/black
2019-08-10 22:25:38 +02:00
Jon Dufresne
0767f080a4
Update URL: python/black → psf/black
2019-08-10 12:38:13 -07:00
Bruno Oliveira
f7e81dab9a
5669: pytester: add docstrings for Testdir.copy_example ( #5719 )
...
5669: pytester: add docstrings for Testdir.copy_example
2019-08-10 09:00:42 -03:00
Ilya Stepin
ee936b27a8
pytester: fix docstrings
...
Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com>
2019-08-10 09:12:04 +03:00
martbln
e0ce8b79d5
pytester: add docstrings for Testdir.copy_example
2019-08-10 00:59:14 +03:00
Bruno Oliveira
8ffa3aa65d
Improve docs of pytest.importorskip ( #5718 )
...
Improve docs of pytest.importorskip
2019-08-09 18:28:44 -03:00
Tim Hoffmann
b095e0de47
Improve docs of pytest.importorskip
2019-08-09 21:35:03 +02:00
Bruno Oliveira
5ecac3c861
Add a code of conduct ( #5711 )
...
Add a code of conduct
2019-08-08 12:37:14 -03:00
Florian Bruhin
0a19439677
Add a code of conduct
...
See #5709 and the mails linked from there
2019-08-08 14:01:29 +02:00
Bruno Oliveira
e772bb6480
trivial doc change ( #5708 )
...
trivial doc change
2019-08-08 08:10:36 -03:00
boris
7560a7b808
trivial doc change
2019-08-07 21:49:30 -06:00
Bruno Oliveira
6c8d8a99f4
pyupgrade docs to Python 3 ( #5705 )
...
pyupgrade docs to Python 3
2019-08-07 07:27:34 -03:00
boris
78de9d4677
replace implicit code tag with colon .replace("::\n\n.. code-block", ":\n\n.. code-block")
2019-08-06 16:20:06 -07:00
boris
23a0b532db
Revert "remove implicit code tags .replace("::\n\n.. code-block", "\n\n.. code-block")"
...
This reverts commit 9fce0bdd88
.
2019-08-06 16:18:06 -07:00
boris
9fce0bdd88
remove implicit code tags .replace("::\n\n.. code-block", "\n\n.. code-block")
2019-08-06 15:46:57 -07:00
Bruno Oliveira
28fabc52bd
fix grammar in test_collect_functools_partial docstr ( #5703 )
...
fix grammar in test_collect_functools_partial docstr
2019-08-06 19:24:24 -03:00
boris
5f95dce956
ran blacken-docs
2019-08-06 13:34:58 -07:00
boris
75d0b899bb
ran pyupgrade-docs again
2019-08-06 13:33:21 -07:00
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
Thomas Grainger
ef0915e1db
fix grammar in test_collect_functools_partial docstr
2019-08-06 15:27:36 +01: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