Demian Brecht
493530ec6d
typo fix, changed position of context manager notes
2015-10-05 12:13:25 -07:00
Florian Bruhin
4dea0892cb
Merge pull request #1108 from nicoddemus/plugins_index
...
plugins_index was still generating ".txt" files, so it was effectively being ignored
2015-10-05 09:37:31 -07:00
Bruno Oliveira
a14c77aeba
Fix problems when mixing autouse fixtures and doctest modules
...
The main problem was that previously DoctestModule was setting
up its fixtures during collection, instead of letting
each DoctestItem make its own fixture setup
Fix #1100
Fix #1057
2015-10-03 16:07:14 -03:00
Bruno Oliveira
a24126effb
Add credit for pytest.mark.skip to the CHANGELOG
2015-10-03 14:15:22 -03:00
Michael Aquilina
8984177448
TestXFail also shouldnt explicitly inherit from object
2015-10-03 17:12:44 +01:00
Michael Aquilina
750442909c
Add unconditional skip entry to CHANGELOG
2015-10-03 17:04:06 +01:00
Michael Aquilina
df874db817
Update default reason to "unconditional skip"
2015-10-03 17:02:18 +01:00
Michael Aquilina
00d0c74657
Update reason in test to prevent confusing with test_no_reason
2015-10-03 17:01:21 +01:00
Michael Aquilina
122980ecad
Add myself to AUTHORS
2015-10-03 17:01:11 +01:00
Michael Aquilina
fc0bd9412c
Test that "unconditional skip" is the default reason if none given
2015-10-03 17:00:16 +01:00
Michael Aquilina
5ff9a0ff54
Remove redundant comments
2015-10-03 16:59:27 +01:00
Michael Aquilina
25d74a5919
Dont explicitly inherit from object
2015-10-03 16:55:04 +01:00
Michael Aquilina
213dbe7a5f
newlines
2015-10-03 16:42:15 +01:00
Michael Aquilina
9e57954b03
First argument in pytest.mark.skip is a reason
2015-10-03 16:42:15 +01:00
Michael Aquilina
1b5aa2868d
Check no reason displayed if none specified
2015-10-03 16:42:15 +01:00
Michael Aquilina
eee24138b0
Fix failing test
2015-10-03 16:42:15 +01:00
Michael Aquilina
04545f8a54
classes inherit from object
2015-10-03 16:42:15 +01:00
Michael Aquilina
d1628944a6
Update skippings tests for better coverage
2015-10-03 16:42:15 +01:00
Michael Aquilina
abc27f56fc
Update skipping.rst with correct version marker
2015-10-03 16:42:15 +01:00
Michael Aquilina
771aef9ddb
Add a test_skip_class test
2015-10-03 16:42:15 +01:00
Michael Aquilina
dc7153e33c
Spelling and grammar fixes
2015-10-03 16:42:15 +01:00
Michael Aquilina
5ec08d3081
Delete trailing whitespace
2015-10-03 16:42:15 +01:00
Michael Aquilina
61b8443723
Update docs with new skip marker
2015-10-03 16:42:14 +01:00
Michael Aquilina
ad0b8e31b8
Fix case where skip is assigned to as an attribute directly
2015-10-03 16:42:14 +01:00
Michael Aquilina
f144666f8b
Work towards test coverage of mark.skip
2015-10-03 16:42:14 +01:00
Michael Aquilina
4e94135d36
Remove incorrect use of pytest.mark.skip
2015-10-03 16:42:14 +01:00
Michael Aquilina
b71add27da
Add MarkEvaluator for skip
2015-10-03 16:42:14 +01:00
Bruno Oliveira
9deab6c0fd
Add a reminder on HOWTORELEASE to update plugins_index
2015-10-02 19:44:00 -03:00
Bruno Oliveira
f9e9413f52
plugins_index was still generating ".txt" files, so it was effectively being ignored
...
Fix #1105
2015-10-02 19:21:55 -03:00
Bruno Oliveira
5171d167ce
Move "note" to the end of the main text
...
Fix #1097
2015-10-02 18:14:17 -03:00
Demian Brecht
2981bece55
pyflakes fix
2015-10-02 13:03:43 -07:00
Demian Brecht
fd211bf490
Add a note about usage of the context manager
...
Addesses #1097
2015-10-02 12:40:58 -07:00
Ronny Pfannschmidt
9263b3a051
Merge pull request #1096 from hackebrot/update-docs-skip-with-cli-option
...
Update docs skip with cli option
2015-10-01 18:31:55 +02:00
holger krekel
88209c6ac6
Merge pull request #1092 from nicoddemus/param-ids-fix
...
Param ids fix
2015-10-01 15:09:11 +02:00
Ronny Pfannschmidt
688f955f5e
Merge pull request #1058 from nicoddemus/doc-how-disable-cache
...
Add docs on how to disable cache provider
2015-10-01 13:06:02 +02:00
Bruno Oliveira
f3cee8f0b5
Merge remote-tracking branch 'upstream/master' into param-ids-fix
2015-10-01 07:58:55 -03:00
Ronny Pfannschmidt
b7fd3f0031
Merge pull request #1093 from nicoddemus/relto-bug
...
Fix internal error when filtering tracebacks where one entry was generated by an exec() statement
Fixes #995
2015-10-01 06:00:40 +02:00
Bruno Oliveira
d1e00f6e19
Detect dynamic code explicitly in filter_traceback
2015-09-30 17:32:49 -03:00
Bruno Oliveira
c9480c5b8b
Move imports outside _escape_bytes as suggested in review
2015-09-30 17:02:19 -03:00
Raphael Pierzina
4829eac1e1
Use a variable for the skipif marker as suggested by @nicoddemus
2015-09-30 21:53:34 +02:00
Raphael Pierzina
a10da0e540
Implement skipif marker for slow test based on pytest.config
2015-09-30 19:41:47 +02:00
Raphael Pierzina
7ac8a88a05
Remove pytest_runtest_setup from conftest.py
2015-09-30 19:25:57 +02:00
Bruno Oliveira
639ae0cfe0
Merge pull request #1095 from ionelmc/fix-hook-docs
...
Correct hook examples in docs.
2015-09-30 11:28:43 -03:00
Ionel Cristian Mărieș
c8f5a40fd9
Edit examples again to use hookimpl.
2015-09-30 16:58:12 +03:00
Ionel Cristian Mărieș
f4f23e8e09
Correct hook examples in docs.
2015-09-30 16:12:33 +03:00
Florian Bruhin
dc9ad12182
Merge pull request #1094 from nicoddemus/cache-fixture-docstring-fix
...
fix docstring for cache fixture regarding ``/`` on keys
2015-09-30 06:02:38 +02:00
Bruno Oliveira
a808e09204
fix docstring for cache fixture regarding ``/`` on keys
2015-09-30 00:27:52 -03:00
Bruno Oliveira
6ae16eba36
add entries for #1085 and #1087 to the CHANGELOG
2015-09-29 22:37:11 -03:00
Bruno Oliveira
11f100813e
Fix internal error when filtering tracebacks where one entry was generated by an exec() statement
...
Fix #995
2015-09-29 22:29:43 -03:00
Bruno Oliveira
b64470443f
Fix SystemError when using unicode_escape on Python 3
...
Fix #1087
2015-09-29 18:20:30 -03:00