Florian Bruhin
03d8a6c05d
Update CHANGELOG.
2015-08-07 23:08:22 +02:00
Brianna Laugher
fd4d35d9a2
Merge pull request #924 from The-Compiler/parametrise
...
Alert user about other parametrize spellings.
2015-08-07 13:32:04 +02:00
Florian Bruhin
91a29932a6
Add CHANGELOG entry.
2015-08-07 07:58:13 +02:00
Florian Bruhin
b59376bea4
Alert user about other parametrize spellings.
2015-08-07 07:51:59 +02:00
Florian Bruhin
13c5456868
Generate parametrize IDs for enum/re/class objects.
2015-08-07 07:37:59 +02:00
Bruno Oliveira
4f83586f55
Give credit where it is due in CHANGELOG 😄
...
Related to #890
2015-08-06 22:51:32 -03:00
Bruno Oliveira
77f54dbdae
Merge pull request #915 from Akasurde/issue-890
...
Converted docs from txt to rst
2015-08-06 22:47:53 -03:00
Bruno Oliveira
2bbe709bce
Use testdir fixture in test_double_test to ensure controlled environment for execution
...
Because the test relies that two subsequent tests try to use pytest.warns to capture
the exact same warning, it is better to use testdir to ensure test execution
occurs in the order we expect (which might be different with pytest-xdist or
pytest-random for example)
2015-08-06 22:30:01 -03:00
Eric Hunsberger
39f1471e93
Warnings always raised in WarningsRecorder
...
This ensures that if tests for warnings are run more than once,
the warning is still raised as expected.
2015-08-06 15:05:01 -04:00
Abhijeet Kasurde
ab9befb197
Updated CHANGELOG and AUTHORS
2015-08-05 15:21:37 +05:30
Abhijeet Kasurde
6d446e7167
Converted documentation from txt to rst
2015-08-05 10:24:14 +05:30
Bruno Oliveira
02e742b7a6
Move WarningsChecker import in test to a local import to workaround flakes issue
...
See #897 for discussion
2015-08-04 19:27:13 -03:00
Abhijeet Kasurde
185e730feb
Added makefile changes for docs
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-08-04 18:44:52 +05:30
Abhijeet Kasurde
e79413acc4
Updated documentation from txt to rst
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-08-04 16:41:02 +05:30
Bruno Oliveira
d761bfffd7
Merge pull request #897 from hunse/warns
...
Warns
2015-08-03 22:48:20 -03:00
elizabeth
f7bacd169e
Update docs
2015-08-04 00:48:41 +03:00
Bruno Oliveira
8fca4781f1
Merge pull request #910 from oleksmarkh/patch-1
...
fix docs folder name in HOWTORELEASE
2015-08-03 18:12:14 -03:00
elizabeth
657ca97dbd
Some refactorings after code review
2015-08-04 00:02:03 +03:00
Oleksii Markhovskyi
3868b61443
fix docs folder name in HOWTORELEASE
2015-08-03 23:01:03 +02:00
Bruno Oliveira
c605cf92f9
Merge pull request #909 from flub/assertdoc
...
Update docs to represent reality
2015-08-02 18:53:47 -03:00
Floris Bruynooghe
b097d8c0a6
Update docs to represent reality
...
This was changed after EuroPython 2014, now both the message and the
introspection is presented.
2015-08-02 22:36:19 +01:00
elizabeth
db9809d6dc
Update test for error in 'indirect' parameter
2015-08-02 23:53:44 +03:00
elizabeth
63bac67fb5
Add test for bad value in argument 'indirect'
2015-08-02 23:06:24 +03:00
elizabeth
54a3d6210b
Update CHANGELOG and AUTHORS
2015-08-02 20:39:31 +03:00
elizabeth
15b865f502
Rewrite test using @pytest.fixture
2015-08-02 20:30:23 +03:00
elizabeth
9846953597
Support for python 2.6
2015-08-02 17:28:27 +03:00
elizabeth
2fc7aede0b
Request #714 : Apply indirect=True on particular argnames
2015-08-02 16:40:40 +03:00
Ronny Pfannschmidt
f6506fa6ca
Merge pull request #907 from nicoddemus/regendocs-fixture
...
Use smtp.gmail.com server for examples and fixes examples for python 3
2015-07-31 06:55:08 +02:00
Eric Hunsberger
52b4eb6c46
Added `warns` to assert warnings are thrown
...
Works in a similar manner to `raises`, but for warnings instead
of exceptions. Also refactored `recwarn.py` so that all the
warning recording and checking use the same core code.
2015-07-30 23:28:32 -04:00
Eric Hunsberger
aac371cf07
Added myself to AUTHORS
2015-07-30 23:28:32 -04:00
Bruno Oliveira
4d8e3cbcb0
Use smtp.gmail.com server for examples and fixes examples for python 3
...
Examples in py3 where showing the wrong message:
TypeError: Type str doesn't support the buffer API
2015-07-30 23:54:24 -03:00
Bruno Oliveira
7a918a1617
Fix regendoc section in fixture.txt
...
Noticed thanks to #903
2015-07-30 23:21:19 -03:00
Ronny Pfannschmidt
0b83b4076a
Merge pull request #898 from nicoddemus/tmpdir-factory-new-name
...
Use pytest-of-$user as base directory for tmpdir_factory
2015-07-29 13:58:42 +02:00
Bruno Oliveira
4302972c23
Use pytest-of-$user as base directory for tmpdir_factory
...
Before tmpdir_factory, pytest used to create a link named "pytest-$user" to the current numbered directory. Use
a different name so there's no conflict when running different pytest versions.
Fix #894
2015-07-28 20:57:48 -03:00
Ronny Pfannschmidt
235f9da432
special-case _pytest.__init__ in genscript to avoid a python3 bug
2015-07-27 11:33:27 +02:00
Bruno Oliveira
9cf9900721
Merge pull request #892 from The-Compiler/multi-parametrize
...
Document and test stacking of parametrize.
2015-07-26 21:00:29 -03:00
Bruno Oliveira
2035c5f8be
Merge pull request #893 from pfctdayelise/dupereleaseguides
...
Delete duplicate release guide
2015-07-26 20:59:07 -03:00
Brianna Laugher
5ebad5c96d
Delete release.txt from docs, merge extra comments to HOWTORELEASE.rst
2015-07-26 15:20:32 +02:00
Florian Bruhin
2ab4bf13ab
Document and test stacking of parametrize.
...
Closes #815 .
2015-07-26 14:39:13 +02:00
Ronny Pfannschmidt
5098e5fc47
fix version import
2015-07-26 14:04:52 +02:00
Brianna Laugher
017ceffb76
minor tweaks to CONTRIBUTING
2015-07-26 12:19:39 +02:00
Floris Bruynooghe
e69e785b23
Mention fix for issue #683
2015-07-26 12:15:29 +02:00
jakubo
e8f4819876
Test file run twice fails if it contains marked class #683
2015-07-26 12:15:29 +02:00
Brianna Laugher
985fd0cc2b
Mention Contributors team by name in CONTRIBUTING
2015-07-26 12:07:50 +02:00
Floris Bruynooghe
97e5f7d7e9
Merge merge branch
...
I suspect I don't yet know how to use git... Surely I don't need two
merges to merge a contribution.
2015-07-26 11:49:42 +02:00
Floris Bruynooghe
011565ca10
Add changelog entry for capture improvement
2015-07-26 11:42:33 +02:00
Floris Bruynooghe
e68fa641ff
Merge reset-capgture-on-reeadouterr-errors
...
Merge branch 'reset-capture-on-readouterr-errors' of github.com:davidszotten/pytest into merge-capmerge
2015-07-26 11:39:03 +02:00
David Szotten
3e6bee2fc6
fail if snap is removed in the future
2015-07-26 01:28:00 +02:00
David Szotten
983d249680
reset capture even if readouterr throws
...
otherwise that exception (and all following output) end up in /dev/null
2015-07-26 01:15:51 +02:00
Floris Bruynooghe
8338c692a3
Merge pull request #887 from maartenq/753content_of
...
changed contents -> content but still #753 did not solved, might be i…
2015-07-25 19:11:53 +02:00