Bruno Oliveira
|
eb1bd3449e
|
xfail and skipped tests are removed from the "last-failed" cache
This accommodates the case where a failing test is marked as
skipped/failed later
|
2017-07-27 18:43:04 -03:00 |
Bruno Oliveira
|
22212c4d61
|
Add xfail specific tests
|
2017-07-27 14:40:21 -03:00 |
Bruno Oliveira
|
62810f61b2
|
Make cache plugin always remember failed tests
|
2017-07-27 14:40:21 -03:00 |
Bruno Oliveira
|
17c544e793
|
Introduce new pytest_report_collectionfinish hook
Fix #2622
|
2017-07-27 10:44:29 -03:00 |
Bruno Oliveira
|
3d89905114
|
Merge remote-tracking branch 'upstream/master' into features
|
2017-07-26 19:01:28 -03:00 |
Bruno Oliveira
|
dd294aafb3
|
Merge pull request #2557 from blueyed/EncodedFile-name
capture: ensure name of EncodedFile being a string
|
2017-07-26 10:39:10 -03:00 |
Daniel Hahler
|
0603d1d500
|
capture: ensure name of EncodedFile being a string
Fixes https://github.com/pytest-dev/pytest/issues/2555.
|
2017-07-25 20:37:37 +02:00 |
Daniel Hahler
|
869eed9898
|
Fix lineno offset in show_skipped
The line number is 0-based here, so add 1.
|
2017-07-25 15:19:47 +02:00 |
Bruno Oliveira
|
73c6122f35
|
Merge remote-tracking branch 'upstream/master' into features
|
2017-07-24 21:12:51 -03:00 |
Nguyễn Hồng Quân
|
d40d77432c
|
Add test case for DoctestItem.reportinfo()
|
2017-07-24 23:07:45 +07:00 |
Bruno Oliveira
|
bda07d8b27
|
Ignore socket warnings on windows for trial tests
|
2017-07-22 21:44:18 -03:00 |
Bruno Oliveira
|
0726d9a09f
|
Turn warnings into errors in pytest's own test suite
Fix #2588
|
2017-07-22 21:44:18 -03:00 |
Bruno Oliveira
|
6461dc9fc6
|
Merge pull request #2600 from RonnyPfannschmidt/mark_explicit_params
fix #2540, introduce mark.with_args
|
2017-07-21 10:42:25 -03:00 |
Ronny Pfannschmidt
|
65b2de13a3
|
fix #2540, introduce mark.with_args
|
2017-07-21 13:37:09 +02:00 |
Bruno Oliveira
|
7341da1bc1
|
Introduce pytest.mark.filterwarnings
|
2017-07-20 22:31:49 -03:00 |
Bruno Oliveira
|
22f54784c2
|
Add "fix-lint" tox environment to fix linting errors
|
2017-07-20 22:12:15 -03:00 |
Bruno Oliveira
|
abb5d20841
|
Merge branch 'master' into features
|
2017-07-20 22:10:58 -03:00 |
Bruno Oliveira
|
da12c52347
|
Fix: do not load hypothesis during test_logging_initialized_in_test
A recent release seem to have added a "logging" import to the top-level,
which breaks test_logging_initialized_in_test
|
2017-07-20 21:43:24 -03:00 |
Floris Bruynooghe
|
56e6b4b501
|
Merge pull request #2578 from Llandy3d/2375
Provides encoding attribute on CaptureIO
|
2017-07-20 23:14:14 +02:00 |
Bruno Oliveira
|
d44565f385
|
Merge remote-tracking branch 'upstream/master' into fix-flake8-errors
|
2017-07-19 17:57:30 -03:00 |
Bruno Oliveira
|
24da938321
|
Fix additional flake8 errors
|
2017-07-19 17:42:21 -03:00 |
Bruno Oliveira
|
26ee2355d9
|
Merge remote-tracking branch 'upstream/features' into fix-flake8-errors
|
2017-07-19 17:09:05 -03:00 |
Bruno Oliveira
|
c92760dca8
|
Merge branch 'fix-flake8-issues'
|
2017-07-19 17:03:36 -03:00 |
Bruno Oliveira
|
2d4f1f022e
|
Introduce PYTEST_CURRENT_TEST environment variable
Fix #2583
|
2017-07-19 10:01:50 -03:00 |
Bruno Oliveira
|
7b1870a94e
|
Fix flake8 in features branch
|
2017-07-17 21:16:14 -03:00 |
Bruno Oliveira
|
4fd92ef9ba
|
Merge branch 'fix-flake8-issues' into features
|
2017-07-17 21:05:39 -03:00 |
Andras Tim
|
b49e8baab3
|
Fixed E731 flake8 errors
do not assign a lambda expression, use a def
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
15610289ac
|
Fixed E712 flake8 errors
comparison to True should be ‘if cond is True:’ or ‘if cond:’
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
5ae59279f4
|
Fixed E704 flake8 errors
multiple statements on one line (def)
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
85141a419f
|
Fixed E701 flake8 errors
multiple statements on one line (colon)
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
7d2ceb7872
|
Fixed E501 flake8 errors
line too long (> 120 characters)
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
b9e318866e
|
Fixed E402 flake8 errors
module level import not at top of file
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
45ac863069
|
Fixed E401 flake8 errors
multiple imports on one line
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
7248b759e8
|
Fixed E303 flake8 errors
too many blank lines (3)
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
b840622819
|
Fixed E302 flake8 errors
expected 2 blank lines, found 0
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
17a21d540b
|
Fixed E301 flake8 errors
expected 1 blank line, found 0
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
4730c6d99d
|
Fixed E272 flake8 errors
multiple spaces before keyword
|
2017-07-17 01:44:23 +02:00 |
Andras Tim
|
c9a081d1a3
|
Fixed E271 flake8 errors
multiple spaces after keyword
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
195a816522
|
Fixed E265 flake8 errors
block comment should start with ‘# ‘
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
8f3eb6dfc7
|
Fixed E261 flake8 errors
at least two spaces before inline comment
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
b226454582
|
Fixed E251 flake8 errors
unexpected spaces around keyword / parameter equals
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
4c24947785
|
Fixed E241 flake8 errors
multiple spaces after ‘,’
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
617e510b6e
|
Fixed E231 flake8 errors
missing whitespace after ‘,’, ‘;’, or ‘:’
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
4b22f270a3
|
Fixed E226 flake8 errors
missing whitespace around arithmetic operator
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
2e8caefcab
|
Fixed E225 flake8 errors
missing whitespace around operator
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
3fabc4d219
|
Fixed E222 flake8 errors
multiple spaces after operator
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
f640e0cb04
|
Fixed E221 flake8 errors
multiple spaces before operator
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
ebb6d0650b
|
Fixed E203 flake8 errors
whitespace before ‘:’
|
2017-07-17 01:44:22 +02:00 |
Andras Tim
|
ba0a4d0b2e
|
Fixed E202 flake8 errors
whitespace before ‘)’
|
2017-07-17 01:28:17 +02:00 |
Andras Tim
|
1ff54ba205
|
Fixed E201 flake8 errors
whitespace after ‘(‘
|
2017-07-17 01:28:17 +02:00 |