Gleb Nikonorov
|
7ea116d74c
|
Merge remote-tracking branch 'origin' into issue_7346
|
2020-06-13 09:54:23 -04:00 |
Ran Benita
|
f551cab877
|
Merge pull request #7358 from bluetech/typing2
More type annotations, fix some typing bugs
|
2020-06-13 10:44:11 +03:00 |
Gleb Nikonorov
|
6f8633cc17
|
add in solution barring documentation
|
2020-06-13 02:47:15 -04:00 |
Bruno Oliveira
|
aaa6f1c3fa
|
Merge pull request #7330 from gnikonorov/issue_7305
|
2020-06-12 19:35:38 -03:00 |
Ran Benita
|
a5ab7c19fb
|
config: reject minversion if it's a list instead of a single string
Fixes:
src/_pytest/config/__init__.py:1071: error: Argument 1 to "Version" has incompatible type "Union[str, List[str]]"; expected "str" [arg-type]
|
2020-06-12 17:34:31 +03:00 |
Ran Benita
|
1cf9405075
|
Fix some type errors around py.path.local
These errors are found using a typed version of py.path.local.
|
2020-06-12 17:34:31 +03:00 |
Ran Benita
|
0256cb3aae
|
hookspec: type annotate pytest_internalerror
Also switch to using ExceptionRepr instead of
`Union[ReprExceptionInfo, ExceptionChainRepr]`
which is somewhat annoying and less future proof.
|
2020-06-12 17:34:31 +03:00 |
Ran Benita
|
7081ed19b8
|
hookspec: type annotate pytest_keyboard_interrupt
|
2020-06-12 17:34:31 +03:00 |
Ran Benita
|
b4f046b777
|
monkeypatch: add type annotations
|
2020-06-12 17:34:31 +03:00 |
Ran Benita
|
f84ffd9747
|
Remove unused type: ignores
Not needed since update from mypy 0.770 -> 0.780.
|
2020-06-12 17:34:31 +03:00 |
Zac Hatfield-Dodds
|
0f30103d9c
|
Merge pull request #7356 from Zac-HD/emancipate
Finish deprecation of "slave"
|
2020-06-12 23:13:11 +10:00 |
Zac-HD
|
564b2f707d
|
Finish deprecation of "slave"
|
2020-06-12 22:49:33 +10:00 |
Gleb Nikonorov
|
1474f24c07
|
Merge branch 'issue_7305' of github.com:gnikonorov/pytest into issue_7305
|
2020-06-12 08:28:23 -04:00 |
Gleb Nikonorov
|
2c8e356174
|
rename _emit_warning_or_fail to _warn_or_fail_if_strict and fix a doc typo
|
2020-06-12 08:27:55 -04:00 |
Bruno Oliveira
|
72344a5620
|
Merge pull request #7352 from nicoddemus/lock-unlink-5456
Suppress errors while removing tmpdir's lock files
|
2020-06-12 08:53:06 -03:00 |
Bruno Oliveira
|
ab331c906e
|
Suppress errors while removing tmpdir's lock files
Fix #5456
|
2020-06-11 18:59:51 -03:00 |
Gleb Nikonorov
|
57415e68ee
|
Update changelog/7305.feature.rst
Co-authored-by: Ran Benita <ran@unusedvar.com>
|
2020-06-11 16:55:25 -04:00 |
Bruno Oliveira
|
0821c5c81d
|
Merge pull request #7349 from tbm/doc
|
2020-06-11 07:55:53 -03:00 |
Martin Michlmayr
|
68572179cb
|
doc: Fix typos and cosmetic issues
|
2020-06-11 16:22:47 +08:00 |
Gleb Nikonorov
|
c18afb59f5
|
final touches
|
2020-06-10 19:09:24 -04:00 |
Bruno Oliveira
|
c76077c63e
|
Merge pull request #7345 from The-Compiler/fixture-docs
doc: Explain indirect parametrization and markers for fixtures
|
2020-06-10 17:16:08 -03:00 |
Florian Bruhin
|
e36d5c05c6
|
doc: Explain indirect parametrization and markers for fixtures
|
2020-06-10 14:27:45 +02:00 |
Gleb Nikonorov
|
95cb7fb676
|
review feedback
|
2020-06-10 00:44:22 -04:00 |
Bruno Oliveira
|
c83801eed0
|
Merge pull request #6835 from iwanb/master
|
2020-06-09 15:01:35 -03:00 |
Bruno Oliveira
|
10cee92955
|
Fix typo
|
2020-06-09 14:58:57 -03:00 |
Bruno Oliveira
|
c229d6f46f
|
Fix mypy checks
|
2020-06-09 14:48:49 -03:00 |
Bruno Oliveira
|
5a78df4bd0
|
Update CHANGELOG
|
2020-06-09 14:43:04 -03:00 |
Ran Benita
|
09988f3ed1
|
Update testing/test_assertion.py
|
2020-06-09 14:39:40 -03:00 |
ibriquem
|
e2e7f15b71
|
Make dataclasses/attrs comparison recursive, fixes #4675
|
2020-06-09 14:39:40 -03:00 |
Bruno Oliveira
|
3de85a9ac9
|
Merge pull request #6944 from piotrhm/issue_1120
|
2020-06-09 11:31:58 -03:00 |
piotrhm
|
e862643b3f
|
Update 1120.bugfix.rst
|
2020-06-09 11:17:31 -03:00 |
piotrhm
|
f0e47c1ed6
|
Fix typo
|
2020-06-09 11:17:31 -03:00 |
piotrhm
|
bde0ebcda9
|
Replace cleanup_numbered_dir with atexit.register
|
2020-06-09 11:17:31 -03:00 |
Bruno Oliveira
|
c871d8b2b6
|
Merge pull request #7304 from asottile/cache_pre_commit
cache the pre-commit environment
|
2020-06-09 10:56:42 -03:00 |
Bruno Oliveira
|
3100f8ec29
|
Merge pull request #7341 from gnikonorov/issue_7334
Add documentation on closing issues
|
2020-06-09 09:11:47 -03:00 |
Anthony Sottile
|
aabf03350a
|
Merge pull request #7326 from xinbinhuang/improve_marker_doc
Remove start_doc_server.sh script
|
2020-06-09 01:55:30 -07:00 |
Xinbin Huang
|
c471b382f5
|
Remove start_doc_server.sh script
|
2020-06-08 21:01:11 -07:00 |
Gleb Nikonorov
|
96d4e2f571
|
Add documentation on closing issues
|
2020-06-08 23:58:44 -04:00 |
Bruno Oliveira
|
fcbaab8b0b
|
Allow tests to override "global" `log_level` (rebased) (#7340)
Co-authored-by: Ruaridh Williamson <ruaridh.williamson@flexciton.com>
|
2020-06-08 22:05:46 -03:00 |
Prashant Anand
|
e78207c936
|
7119: data loss with mistyped --basetemp (#7170)
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Co-authored-by: Ran Benita <ran@unusedvar.com>
|
2020-06-08 21:54:22 -03:00 |
Bruno Oliveira
|
a76855912b
|
Introduce guidelines for closing stale issues/PRs (#7332)
* Introduce guidelines for closing stale issues/PRs
Close #7282
Co-authored-by: Anthony Sottile <asottile@umich.edu>
Co-authored-by: Zac Hatfield-Dodds <Zac-HD@users.noreply.github.com>
Co-authored-by: Anthony Sottile <asottile@umich.edu>
Co-authored-by: Zac Hatfield-Dodds <Zac-HD@users.noreply.github.com>
|
2020-06-08 21:15:53 -03:00 |
Fabio Zadrozny
|
322190fd84
|
Fix issue where working dir becomes wrong on subst drive on Windows. Fixes #5965 (#6523)
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
|
2020-06-08 10:56:40 -03:00 |
Bruno Oliveira
|
c17d50829f
|
Add pyproject.toml support (#7247)
|
2020-06-08 10:03:10 -03:00 |
Gleb Nikonorov
|
13add4df43
|
documentation fixes
|
2020-06-07 15:37:50 -04:00 |
Gleb Nikonorov
|
d2bb67bfda
|
validate plugins before keys in config files
|
2020-06-07 14:10:20 -04:00 |
Gleb Nikonorov
|
42deba59e7
|
Update documentation as suggested
|
2020-06-06 22:34:15 -04:00 |
Bruno Oliveira
|
ceac6736d7
|
Fix mention using --rootdir mention inside pytest.ini (not supported) (#6825)
Co-authored-by: Ran Benita <ran@unusedvar.com>
|
2020-06-06 19:17:40 -03:00 |
Gleb Nikonorov
|
f1746c50ea
|
Merge remote-tracking branch 'origin/master' into issue_7305
|
2020-06-06 12:37:56 -04:00 |
Gleb Nikonorov
|
3f6b3e7faa
|
update help for --strict-config
|
2020-06-06 11:33:28 -04:00 |
Gleb Nikonorov
|
f760b105ef
|
Touchup pre-PR
|
2020-06-06 11:06:08 -04:00 |