Thomas Grainger
2b8b8408bd
run pyupgrade in ci ( #573 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2020-08-06 13:03:06 -03:00
Bruno Oliveira
30606257fc
Merge pull request #572 from pytest-dev/pytest6
...
Remove compat for pytest < 6
2020-08-06 09:12:58 -03:00
Zac-HD
d153e0a4c4
Remove compat for pytest < 6
2020-08-06 15:48:33 +10:00
Sylvain Marié
ba8398478e
New methods is_xdist_worker, is_xdist_master, get_xdist_worker_id. ( #505 )
...
Co-authored-by: Sylvain MARIE <sylvain.marie@se.com >
Co-authored-by: Zac Hatfield-Dodds <Zac-HD@users.noreply.github.com >
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2020-08-05 20:41:54 -03:00
Bruno Oliveira
abc1ae0e02
Merge pull request #571 from nicoddemus/remove-pytest-logwarning
...
Drop features from old pytest versions
2020-08-05 20:27:57 -03:00
Bruno Oliveira
047816f33a
Drop features from old pytest versions
2020-08-05 19:55:56 -03:00
Bruno Oliveira
56a852665d
Merge pull request #570 from nicoddemus/fix-config-init
2020-08-05 19:44:55 -03:00
Bruno Oliveira
55838a126d
Remove unnecessary skipif and changelog
2020-08-05 19:24:53 -03:00
Michał Górny
bcfbf9f94b
tox.ini: Extend testing to py39
2020-08-05 19:21:27 -03:00
Michał Górny
94bdd18a03
Fix skipping test_config_initialization for pytest<5
...
Fix test_config_initialization to be correctly skipped on pytest<5,
by explicitly checking pytest version (idea copied from
test_looponfail_removed_test). The current conditions are insufficient
-- the outer check wrongly assumes pytest>=5 will always be used
on Python 3 (which is not true if you need the same version to support
both Python 2 and Python 3), and the inner condition apparently
wrongly assuming that invocation_params attribute is not present
in pytest-4.
2020-08-05 19:20:14 -03:00
Bruno Oliveira
fe459ba716
Merge pull request #541 from pytest-dev/emancipation
2020-08-05 19:18:02 -03:00
Bruno Oliveira
2f014c39df
Minor changelog adjustment
2020-08-05 19:02:50 -03:00
Bruno Oliveira
e5cdb771f7
Add CHANGELOG about dropping Python 2.7
...
Fix #569
2020-08-05 19:01:57 -03:00
Bruno Oliveira
bdf66f2c8e
Add CHANGELOG about requiring pytest 6.0+
2020-08-05 18:57:25 -03:00
Hugo
62bc333e3e
Fix tests
2020-08-03 22:52:35 +10:00
Hugo
dddac7c7e9
Remove six library
2020-08-03 22:52:18 +10:00
Hugo
9decca0023
Drop support for EOL Python 2
2020-08-03 22:52:03 +10:00
Hugo
22ae7ff7af
Upgrade Python syntax with pyupgrade --py3-plus
2020-08-03 22:52:03 +10:00
Hugo
6f315356be
Set py35 as target version for Black
2020-08-03 22:52:03 +10:00
Zac-HD
de3e54fd27
Finish removal of "slave" terminology
...
See issue #234 . It's time.
2020-08-03 22:51:42 +10:00
Zac-HD
f23c717a36
Delete old issues file
2020-08-03 22:50:13 +10:00
Zac Hatfield-Dodds
0094b29a14
Merge pull request #560 from utapyngo/logical-cpu-count
2020-08-03 22:49:09 +10:00
Ivan Zaikin
e528a42ddc
Support OpenBSD and NetBSD
2020-07-28 08:55:32 +07:00
Bruno Oliveira
c6255faad4
Merge pull request #564 from nicoddemus/release-1.34.0
...
Release 1.34.0
2020-07-27 20:09:04 -03:00
Bruno Oliveira
7bf654775d
Release 1.34.0
v1.34.0
2020-07-27 19:36:42 -03:00
Adam Johnson
b524317863
Make "--pdb" imply "--dist no"
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2020-07-24 20:07:42 -03:00
Daniel Hahler
467ac33d0b
tests: check that PYTEST_ADDOPTS is not processed twice
2020-07-24 19:04:16 -03:00
Bruno Oliveira
fac0c14e28
Merge pull request #531 from mgorny/timeout
2020-07-24 15:47:20 -03:00
Adam Johnson
82730e5c6c
Improve description of testing with multiple CPU's
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2020-07-24 15:46:49 -03:00
Bruno Oliveira
78eaa4c0e2
Merge pull request #563 from nicoddemus/pytest-warning-captured-562
...
Do not trigger pytest_warning_captured in pytest 6.0+
2020-07-24 15:40:19 -03:00
Bruno Oliveira
18b18870a8
Do not trigger pytest_warning_captured in pytest 6.0+
...
Fix #562
2020-07-24 15:19:07 -03:00
Ivan Zaikin
3312dcde61
Apply black
2020-07-23 10:42:18 +07:00
Ivan Zaikin
1c85f1817a
Add changelog
2020-07-23 10:42:04 +07:00
Ivan Zaikin
77e5fdfef9
Use psutil.cpu_count(logical=False) in auto_detect_cpus()
2020-07-23 10:18:43 +07:00
Bruno Oliveira
2fc21fddbb
Merge pull request #558 from nicoddemus/fix-rsync-dirs
...
Fix rsyncdirs usage with pytest 6.0
2020-07-13 15:09:48 -03:00
Bruno Oliveira
443dc21061
Fix rsyncdirs usage with pytest 6.0
...
Fix pytest-dev/pytest#7487
2020-07-13 12:09:02 -03:00
Bruno Oliveira
727c41e957
Merge pull request #556 from nicoddemus/release-1.33.0
2020-07-09 20:47:50 -03:00
Bruno Oliveira
7396ffb7e8
Release 1.33.0
v1.33.0
2020-07-09 20:20:02 -03:00
Bruno Oliveira
fbfe3b9a91
Add missing changelog for #548
2020-07-09 20:19:17 -03:00
Bruno Oliveira
075a74202b
Add missing changelog for #554
2020-07-09 20:14:37 -03:00
Bruno Oliveira
b8e1e63c7a
Merge pull request #554 from nicoddemus/fix-compat-pytest-master
2020-07-09 16:49:50 -03:00
Bruno Oliveira
bc0866f216
Merge pull request #548 from swt2c/exclude_scm_ci_files
...
Exclude SCM and CI files from distribution
2020-07-08 18:12:33 -03:00
Bruno Oliveira
b25757199c
Support new `pytest_warning_recorded` hook from pytest 6.0
2020-07-08 17:51:45 -03:00
Bruno Oliveira
77a1db27cd
Fix compatibility with pytest master
...
Fix the autouse fixture which diverts atexit.register calls to support the correct signature.
2020-07-08 15:58:31 -03:00
Bruno Oliveira
f5021313ec
Merge pull request #545 from lgeiger/list-comprehensions
...
Prefer list comprehensions over list.append()
2020-07-08 15:44:25 -03:00
Scott Talbert
925829cb72
Exclude SCM and CI files from distribution
...
These files don't make sense outside of the git respository.
2020-06-26 12:02:03 -04:00
Lukas Geiger
311cbfabfb
Prefer list comprehensions over list.append()
2020-06-21 01:00:02 +02:00
Bruno Oliveira
e48491d4fd
Fix linting
2020-05-03 09:38:57 -03:00
Michał Górny
27519e8018
Increase pexpect timeouts to prevent tests from failing
2020-05-03 11:24:03 +02:00
Bruno Oliveira
59caed8e2f
Merge pull request #530 from pytest-dev/release-1.32.0
2020-05-02 20:50:47 -03:00