Bruno Oliveira
475b346fd9
Run pyupgrade --py39-plus on all files
2024-12-07 08:47:25 -03:00
Ran Benita
b78cf1c0ce
Improve typing
...
Fix #1057
2024-04-15 23:30:17 +03:00
Ran Benita
e7a971b167
Use from __future__ import annotations
...
Allows us to use more modern typing.
2024-04-06 21:55:21 +03:00
Ran Benita
e3b69d4f29
Sort imports
...
Using pytest's style.
2024-04-03 00:19:31 +03:00
Ran Benita
9ddb274f23
Update test suite to modern pytest
...
- Use pytest>=6.2 features (same as install_requires).
When we can require >=7, can fix some more typing omissions and
version checks.
- Replace testdir with pytester
- Replace py.test with pytest
- Replace tmpdir with tmp_path
- Remove (almost) all other uses of py
- Add some type annotations (not checked yet)
Ref #722 .
2021-11-01 09:05:28 +02:00
Hugo
dddac7c7e9
Remove six library
2020-08-03 22:52:18 +10: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
2ca058e38a
Remove pytest 2.8 compatibility code
2019-07-11 07:46:53 -03:00
Bruno Oliveira
fced1645cb
Run pre-commit: black, whitespaces, rst
2018-07-27 17:50:55 -03:00
Hugo
c6f2fdcc31
Remove redundant parentheses
2017-12-21 11:19:58 +02:00
Bruno Oliveira
58f7291a99
Fix E741 and E722 flake errors
2017-11-22 20:00:39 -02:00
Bruno Oliveira
7d124ecf87
Replace "pytest_funcarg__" by @pytest.fixture
2016-08-04 20:26:08 -03:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +02:00
holger krekel
faf2e0861f
streamline tests so that they work wit pytest-2.8
2015-05-06 13:34:33 +02:00
holger krekel
cc237b0d8e
fix various flakes issues and add "flakes" to tox tests
2014-07-20 16:56:21 +02:00
holger krekel
de377c1001
use config.getoption instead of deprecated config.getvalue
...
and adapt a few tests to also run against pytest-2.6.0.dev
2014-05-14 08:13:56 +02:00
holger krekel
c924dda30f
shift documentation, remove duplicate code
2010-11-18 14:57:55 +01:00
holger krekel
4d0422a548
remove trailing whitespace from sources
2010-09-07 10:46:58 +02:00
holger krekel
fb31aa882d
integrate xdist related reporting into the plugin
2010-07-07 12:43:19 +02:00
holger krekel
6b75e0a740
initial copy and modifications from the original py/impl/test/dist and
...
looponfail code. Now works as its own "xdist" plugin.
2010-01-13 15:55:01 +01:00