Kyle Altendorf
|
ccaec8d360
|
__tracebackhide__ = True
|
2018-10-06 21:57:03 -04:00 |
Ronny Pfannschmidt
|
66609665f2
|
Merge pull request #4076 from nicoddemus/unittest-param-fixture-msg
Improve error message when TestCase functions use a parametrized fixture
|
2018-10-06 07:43:57 +02:00 |
Kyle Altendorf
|
4b36f9aa64
|
Tidy timeout checking
|
2018-10-05 16:46:24 -04:00 |
Kyle Altendorf
|
5ecbb0acba
|
Correct new changelog to have newline at end
|
2018-10-05 10:22:07 -04:00 |
Kyle Altendorf
|
20902deb75
|
Add Kyle Altendorf to AUTHORS
|
2018-10-05 10:02:59 -04:00 |
Kyle Altendorf
|
ed5556bdac
|
Add to docstrings
|
2018-10-05 10:02:59 -04:00 |
Kyle Altendorf
|
ee64f1fb9f
|
Add changelog file for 4073
|
2018-10-05 10:02:59 -04:00 |
Kyle Altendorf
|
8e0e862c84
|
Stretch out the time assertion for slow AppVeyor
|
2018-10-05 01:38:01 -04:00 |
Kyle Altendorf
|
42422a7f62
|
Throw away arbitrary args to runpytest_subprocess()
|
2018-10-05 00:30:25 -04:00 |
Kyle Altendorf
|
f3a173b736
|
Revert "Use signal.alarm() for py2 timeout"
This reverts commit 900cef6397 .
|
2018-10-05 00:05:46 -04:00 |
Kyle Altendorf
|
5c38a5160d
|
Slight diff tidy
|
2018-10-04 23:33:38 -04:00 |
Kyle Altendorf
|
dcf9eb0104
|
Raise an exception on unexpected kwargs
|
2018-10-04 23:27:01 -04:00 |
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
|
0d095fc978
|
Up timeout to 1 second for test
|
2018-10-04 23:09:07 -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 |
Bruno Oliveira
|
a1208f5631
|
Merge pull request #4075 from nicoddemus/dynamic-fixturenames
Fix request.fixturenames to return fixtures created dynamically
|
2018-10-04 09:21:23 -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 |
Anthony Sottile
|
b098292352
|
Merge pull request #4069 from asottile/deindent_4066
Fix source reindenting by using `textwrap.dedent` directly.
|
2018-10-03 16:11:51 -07:00 |
Bruno Oliveira
|
212937eb3e
|
Improve error message when TestCase functions use a parametrized fixture
Fix #2535
|
2018-10-03 19:43:46 -03:00 |
Bruno Oliveira
|
70c7273640
|
Fix request.fixturenames to return fixtures created dynamically
Fix #3057
|
2018-10-03 18:50:14 -03:00 |
Anthony Sottile
|
e5ab62b1b6
|
Remove (unused) offset= parameter from deindent()
|
2018-10-03 13:33:10 -07:00 |
Anthony Sottile
|
b8b9e8d41c
|
Remove duplicate test (tested above)
|
2018-10-03 10:01:06 -07:00 |
Bruno Oliveira
|
e712adc226
|
Merge pull request #4072 from pecey/tmp/issue-4064
Fixes #4064 by correcting the documentation for unit-tests
|
2018-10-03 12:26:35 -03:00 |
Palash Chatterjee
|
f9ac60807c
|
Fixes #4064 by correcting the documentation for unit-tests
|
2018-10-03 18:11:09 +05:30 |
Bruno Oliveira
|
3f03625a5d
|
Merge pull request #4070 from jeffreyrack/4058-update-fixture-docs
Update documentation to indicate a fixture can be invoked more than once in it's scope.
|
2018-10-03 08:39:41 -03:00 |
Ronny Pfannschmidt
|
29d3faed66
|
Merge pull request #4068 from nicoddemus/merge-master-into-features
Merge master into features
|
2018-10-03 08:30:39 +02:00 |
Jeffrey Rackauckas
|
c5dec6056f
|
Fix wording in fixtures doc.
|
2018-10-02 21:17:53 -07:00 |
Jeffrey Rackauckas
|
642847c079
|
Update documentation on fixture being invoked more than once in a scope.
|
2018-10-02 20:53:15 -07:00 |
Anthony Sottile
|
f102ccc8f0
|
Fix source reindenting by using `textwrap.dedent` directly.
|
2018-10-02 16:13:35 -07:00 |
Bruno Oliveira
|
20f93ae8fa
|
Merge pull request #4067 from beneyal/master
Add pytest.freeze_includes() to reference
|
2018-10-02 20:02:37 -03:00 |
Bruno Oliveira
|
1101a20408
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2018-10-02 18:13:54 -03:00 |
Anthony Sottile
|
df435fa8bd
|
Merge pull request #4065 from asottile/release-3.8.2
Preparing release version 3.8.2
|
2018-10-02 13:53:52 -07:00 |
Ben Eyal
|
a5269b26e0
|
Add anchor for "Freezing pytest"
|
2018-10-02 17:54:59 +03:00 |
Anthony Sottile
|
d3673c7429
|
Preparing release version 3.8.2
|
2018-10-02 07:46:02 -07:00 |
Ben Eyal
|
5010e02eda
|
Add pytest.freeze_includes to reference
|
2018-10-02 17:39:08 +03:00 |
Bruno Oliveira
|
25fe3706a4
|
Merge pull request #4056 from nicoddemus/unicode-vars
Ensure Monkeypatch setenv and delenv use bytes keys in Python 2
|
2018-10-02 07:56:32 -03:00 |
Bruno Oliveira
|
1a323fbd3c
|
Show a warning when non-str is given to Monkeypatch.setenv
|
2018-10-01 20:07:07 -03:00 |
Bruno Oliveira
|
9d971d33be
|
Hide internal pytest.warns traceback
|
2018-10-01 18:45:08 -03:00 |
Bruno Oliveira
|
bc009a8582
|
Fix test to comply with pypy 6.0
|
2018-10-01 18:37:27 -03:00 |
Bruno Oliveira
|
5e7d427df1
|
Merge pull request #4060 from nicoddemus/4051-changelog
Improve changelog for #4051
|
2018-10-01 18:12:52 -03:00 |
Bruno Oliveira
|
dd59ed3b18
|
Merge pull request #4059 from labcodes/documenting-scopes
Add possible values for fixture scope to docs
|
2018-10-01 17:25:42 -03:00 |
Bruno Oliveira
|
20d0f0e56b
|
Improve changelog for #4051
|
2018-10-01 17:12:05 -03:00 |
Bruno Oliveira
|
d24a7e6c5a
|
Issue warning if Monkeypatch.setenv/delenv receive non-strings in Python 2
Fixes the bug described in:
https://github.com/tox-dev/tox/pull/1025#discussion_r221273830
Which is more evident when using `unicode_literals`.
|
2018-10-01 17:05:30 -03:00 |
Jose Carlos Menezes
|
4dc73bda45
|
Update changelog
|
2018-10-01 14:41:30 -03:00 |