Bruno Oliveira
e3c1a3de67
Remove redundant type casts
2022-03-10 09:11:00 -03:00
Bruno Oliveira
d21f59fea7
Fix typing errors after updating mypy
2021-12-27 08:05:01 -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
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
f9a13fe53b
Drop support to old pytest versions and test with python 3.7
2018-11-11 11:27:30 -02:00
Bruno Oliveira
fced1645cb
Run pre-commit: black, whitespaces, rst
2018-07-27 17:50:55 -03:00
Bruno Oliveira
58f7291a99
Fix E741 and E722 flake errors
2017-11-22 20:00:39 -02:00
Ronny Pfannschmidt
15c51c497b
mark looponfail tests broken by 3.1+ as xfail
2017-08-09 14:31:50 +02:00
thou
f0dee10a0d
Fix failing test since spawn.out does not contain "LOOPONFAILING" in pytest >= 3
2017-06-21 13:37:03 -05:00
Ronny Pfannschmidt
0f5ef95be8
flake8 cleanup
2015-09-01 22:37:51 +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
ca54911481
ignore directories and pyc files for changes (editors write tmp/swap
...
files etc., which also affects mtime of directory)
2013-10-07 10:28:08 +02:00
holger krekel
8e88261c15
ignore dot files for file changes (editors write tmp/swap files etc.)
2013-10-07 10:20:24 +02:00
holger krekel
f144ef88e3
fix pytest issue41: re-run tests on all file changes, not just
...
randomly select ones like .py/.c.
2013-09-05 14:21:43 +02:00
holger krekel
0be3d4b077
fix py3 issue
2013-04-02 10:48:26 +02:00
Jeremy Thurgood
587d1501a7
Avoid collecting duplicate failures when using --looponfail.
2013-03-27 17:34:58 +02:00
holger krekel
aed7a5a07e
fix tests by properly removing __pycache__ files
2011-12-15 07:41:09 +01:00
holger krekel
d9c5f18478
fix race condition as reported by Ralf Schmitt
2011-04-14 21:35:27 +02:00
holger krekel
3767ce3269
move some code around, ending up with fewer files logically grouped
2010-09-28 16:08:31 +02:00
holger krekel
e03f6d76b6
make looponfailing work with the new py-trunk developments, refactor internal sesssion handling
2010-09-11 18:34:35 +02:00