Kyle Altendorf
|
dd225e1b9d
|
Tidy getting of timeout from kwargs
|
2018-10-04 23:15:30 -04:00 |
Kyle Altendorf
|
900cef6397
|
Use signal.alarm() for py2 timeout
|
2018-10-04 23:11:26 -04:00 |
Kyle Altendorf
|
dcd635ba0c
|
Correct timeout to check every so often
|
2018-10-04 23:08:57 -04:00 |
Kyle Altendorf
|
33f0338eeb
|
kill and wait for subprocess before raising TimeoutExpired
|
2018-10-04 22:52:51 -04:00 |
Kyle Altendorf
|
d5e5433553
|
Add descriptive message for timeout
|
2018-10-04 21:43:41 -04:00 |
Kyle Altendorf
|
d2906950ce
|
monotonic.monotonic() -> time.time()
|
2018-10-04 21:26:08 -04:00 |
Bruno Oliveira
|
fe7050ba00
|
Fix lint
|
2018-10-04 18:45:30 -03:00 |
Kyle Altendorf
|
870a93c37b
|
Actually construct TimeoutExpired
|
2018-10-04 01:02:58 -04:00 |
Kyle Altendorf
|
96b2ae6654
|
Initial pass at timeout for subprocessing pytest
pytest-dev/pytest#4073
|
2018-10-03 23:56:57 -04:00 |
Bruno Oliveira
|
47bf58d69e
|
Make Node.warn support two forms, new and deprecated
As suggested during review, it now accepts two forms:
Node.warn(warning_instance) (recommended)
Node.warn(code, message) (deprecated)
|
2018-09-04 15:53:17 -03:00 |
Bruno Oliveira
|
b42518acd5
|
Change std_warn to receive a single warning instance, addressed review suggestions
|
2018-09-04 14:20:42 -03:00 |
Bruno Oliveira
|
415a62e373
|
Fix typo in PytestExperimentalApiWarning
|
2018-09-04 11:35:35 -03:00 |
Bruno Oliveira
|
8ce3aeadbf
|
Move PytestExerimentalApiWarning to warning_types
|
2018-09-04 11:35:35 -03:00 |
Bruno Oliveira
|
56d414177a
|
Remove nodeid from messages for warnings generated by standard warnings
Standard warnings already contain the proper location, so we don't need
to also print the node id
|
2018-09-04 11:35:34 -03:00 |
Bruno Oliveira
|
10f21b423a
|
Remove assert for "reprec" because this is no longer set on the pluginmanager
It seems this has no effect since `pluggy` was developed as a separate
library.
|
2018-09-04 11:35:00 -03:00 |
Bruno Oliveira
|
2f2d5861bb
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2018-08-26 16:45:00 -03:00 |
Bruno Oliveira
|
de6f2c0336
|
Collect tests from __init__.py files if they match 'python_files'
Fix #3773
|
2018-08-25 11:18:52 -03:00 |
wim glenn
|
89446af51e
|
fixed a bunch of unicode bugs in pytester.py
|
2018-08-22 01:30:23 -05:00 |
wim glenn
|
539a22c750
|
Added support for xfailed and xpassed outcomes to the ``pytester.RunResult.assert_outcomes`` signature.
|
2018-08-20 01:24:19 -05:00 |
wim glenn
|
e620798d33
|
more autodocs for pytester
|
2018-08-19 23:21:45 -05:00 |
Bruno Oliveira
|
ac9ceaacd8
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2018-07-15 11:54:14 -03:00 |
Anthony Sottile
|
42bbb4fa8a
|
Use -mpytest when invoking pytest in pytester
|
2018-07-07 17:18:44 -07:00 |
Ronny Pfannschmidt
|
0fd86ec8a8
|
move some fill fixture acceptance tests contents to the examples script folder
|
2018-06-29 10:58:33 +02:00 |
Ronny Pfannschmidt
|
581d49635e
|
add docs and changelog
|
2018-06-27 06:52:36 +02:00 |
Ronny Pfannschmidt
|
e860ff7299
|
port some acceptance tests over to copy_example
|
2018-06-26 22:59:40 +02:00 |
Ronny Pfannschmidt
|
0672bc633f
|
enable pytester to run examples copied from the cwd
|
2018-06-26 22:48:33 +02:00 |
Anthony Sottile
|
cbaa7dd56a
|
Upgrade pre-commit hooks except pyupgrade
|
2018-06-26 06:35:27 -07:00 |
Ronny Pfannschmidt
|
eaa882f3d5
|
switch to src layout
|
2018-05-26 09:10:38 +02:00 |