Bruno Oliveira
29ff9301d8
Merge pull request #3092 from jdufresne/readthedocs
...
Prefer https://*.readthedocs.io over http://*.rtfd.org
2018-01-06 15:53:10 -02:00
Bruno Oliveira
f3c666db3c
Small formatting update in CHANGELOG
2018-01-06 14:08:15 -02:00
Jon Dufresne
b93aa5e35f
Prefer https://*.readthedocs.io over http://*.rtfd.org
...
- Requests URL using https instead of http
- Avoids unnecessary redirect of *.rtfd.org -> *.readthedocs.io
*.rtfd.org exists as a means for pasting short URLs, which doesn't much
apply for links in documentation.
2018-01-06 08:05:42 -08:00
Bruno Oliveira
bc66f7e43f
Merge pull request #3075 from elliterate/bugs/fix-skipping-plugin-reporting
...
Assume not skipped by mark if attribute missing
2018-01-06 13:56:07 -02:00
Bruno Oliveira
06a182386b
Merge pull request #3073 from nicoddemus/pytest_runtestloop-docs
...
Add pytest_runtestloop to the docs
2018-01-05 20:35:51 -02:00
Bruno Oliveira
fac07c1b3f
Merge pull request #3076 from pafonta/patch-1
...
[doc] Reword strange sentence on doctest flags
2018-01-05 09:49:54 -02:00
Bruno Oliveira
e8c0ca4f08
Merge pull request #3064 from nicoddemus/release-3.3.2
...
Preparing release version 3.3.2
2018-01-04 20:42:51 -02:00
Pierre-Alexandre Fonta
ac6f257efc
Create news fragment for the pull request
2018-01-04 14:58:30 +01:00
Pierre-Alexandre Fonta
554cb8d09c
Reword strange sentence on doctest flags
2018-01-04 14:47:05 +01:00
Ian Lesperance
25b504b4f0
Add self to authors list
2018-01-03 18:54:49 -05:00
Ian Lesperance
0a6e086f9d
Add changelog entry
2018-01-03 18:53:32 -05:00
Ian Lesperance
f24c470403
Assume not skipped by mark if attribute missing
...
Fixes #3074 .
2018-01-03 18:47:18 -05:00
Bruno Oliveira
52a7ccef57
Add pytest_runtestloop to the docs
2018-01-03 16:58:57 -02:00
Bruno Oliveira
bd2d0d2c3c
Preparing release version 3.3.2
2017-12-25 20:38:27 +00:00
Bruno Oliveira
08997279f4
Merge pull request #3059 from asottile/yesqa
...
Remove unnecessary `# noqa` comments.
2017-12-22 17:03:02 -02:00
Anthony Sottile
205e29d843
Remove unnecessary `# noqa` comments.
...
Commit automated with https://github.com/asottile/yesqa
2017-12-22 08:29:48 -08:00
Ronny Pfannschmidt
672c901c70
Merge pull request #2784 from RonnyPfannschmidt/fix-fdleaks
...
pytester: ignore files used to obtain current user metadata
2017-12-19 17:08:53 +01:00
Ronny Pfannschmidt
d370e7788d
Merge pull request #2068 from flub/commitaccess
...
[proposal] Add section about how you become a committer
2017-12-18 18:20:49 +01:00
Ronny Pfannschmidt
ed293ec3e9
pytester: no ignore files used to obtain current user metadata in the fd leak detector
2017-12-18 17:52:55 +01:00
Ronny Pfannschmidt
2f8427bb4e
Merge pull request #3043 from awbdallas/parameterize_documentation_fix
...
Parameterize documentation fix
2017-12-18 17:48:41 +01:00
Florian Bruhin
30729b7c3c
Merge pull request #3045 from thisch/revert_accidental_push
...
Revert accidental push
2017-12-17 22:06:38 +01:00
Thomas Hisch
dfc5399cd7
Revert "WIP #3013"
...
This reverts commit 28a93b9eeb
.
2017-12-17 21:50:17 +01:00
Thomas Hisch
76489d30f7
Revert "WIP"
...
This reverts commit d6f75d2836
.
2017-12-17 21:49:57 +01:00
Thomas Hisch
d6f75d2836
WIP
2017-12-17 20:11:24 +01:00
Thomas Hisch
28a93b9eeb
WIP #3013
2017-12-17 06:54:57 +01:00
Austin
70461d1ead
Update parametrize.rst
2017-12-16 09:31:48 -06:00
Austin
73eccb4c36
Adding news fragment
2017-12-16 09:21:27 -06:00
Austin
d7a76a4d07
Updated for more clarity
...
- Changed original wording for parameterize. Should help be a little more clear
2017-12-16 09:04:18 -06:00
Bruno Oliveira
924b5e2e3d
Merge pull request #3031 from nicoddemus/symlink-privileges
...
Check if symlink does have privileges on Windows for test_cmdline_python_package_symlink
2017-12-16 12:36:11 -02:00
Austin
c90e76c371
Clarifiyng documentation for parameterize
...
- Added snippet dealing with parameterize run order of tests
2017-12-16 08:25:02 -06:00
Bruno Oliveira
586ecea6f2
Check if symlink does not privileges on Windows for test_cmdline_python_package_symlink
...
os.symlink might fail on Windows because users require a special policy
to create symlinks (argh).
This is not a problem on AppVeyor because it is logged in as an admin,
but would be surprising for Windows users running pytest's test
suite on their computer.
2017-12-14 19:23:15 -02:00
Bruno Oliveira
db4df5833a
Merge pull request #3030 from nicoddemus/leak
...
Fix memory leak caused by fixture values never been garbage collected
2017-12-14 19:20:34 -02:00
Bruno Oliveira
b17c6e5f89
Merge pull request #3028 from thisch/removelogger
...
Remove logger parameter from catching_logs
2017-12-13 20:56:48 -02:00
Bruno Oliveira
c3f63ac143
Fix memory leak caused by fixture values never been garbage collected
...
The leak was caused by the (unused) `FixtureRequest._fixture_values`
cache.
This was introduced because the `partial` object (created to call
FixtureDef.finish() bound with the Request) is kept alive
through the entire session when a function-scoped fixture depends
on a session-scoped (or higher) fixture because of the nested
`addfinalizer` calls.
FixtureDef.finish() started receiving a request object in order to
obtain the proper hook proxy object (#2127 ), but this does not seem
useful at all in practice because `pytest_fixture_post_finalizer`
will be called with the `request` object of the moment the fixture value
was *created*, not the request object active when the fixture value
is being destroyed. We should probably deprecate/remove the request
parameter from `pytest_fixture_post_finalizer`.
Fix #2981
2017-12-13 19:49:06 -02:00
Thomas Hisch
3862b0b28d
Remove logger parameter from catching_logs
...
The logger parameter of catching_logs is not used anywhere. The main
motivation for removing the logger parameter is that it removes the
logger = logger or logging.getLogger(logger)
line. IMO there are too many occurences of the string 'logg' ;)
2017-12-13 21:13:59 +01:00
Ronny Pfannschmidt
476d4df1b7
Merge pull request #3010 from cryvate/fix-issue-2985
...
Improve handling of pyargs
2017-12-13 13:56:42 +01:00
Ronny Pfannschmidt
52449903c3
Merge pull request #3023 from nicoddemus/preparse-deprecated
...
Add param annotations and types to hookspec
2017-12-13 13:51:20 +01:00
Ronny Pfannschmidt
506c9c91c0
Merge pull request #3025 from anntzer/dont-rewrite-plugin
...
Respect PYTEST_DONT_REWRITE for plugins too.
closes #2995
2017-12-13 12:34:51 +01:00
Bruno Oliveira
38f34e2fa1
Merge pull request #3012 from thisch/merge_contextmanagers
...
Integrate logging_using_handler into catching_logs
2017-12-13 06:59:48 -02:00
Bruno Oliveira
ba41015ef6
Merge pull request #3021 from jurko-gospodnetic/cleanup
...
Code cleanup
2017-12-13 06:58:18 -02:00
Bruno Oliveira
ebfc1c49d1
Fix changelog formatting
2017-12-13 06:58:07 -02:00
Antony Lee
45e7734b1a
Change set ops to use methods instead of operators.
2017-12-13 00:54:57 -08:00
Bruno Oliveira
8ce6e39b1c
Small formatting to CHANGELOG
2017-12-13 06:52:37 -02:00
Antony Lee
c8e7d1ae34
Respect PYTEST_DONT_REWRITE for plugins too.
2017-12-12 17:43:17 -08:00
Bruno Oliveira
7b5d4d01ed
Add param annotations and types to hookspec
...
Also mention which hook to use instead of the deprecated
pytest_cmdline_preparse
Fix #3022
2017-12-12 18:01:31 -02:00
Jurko Gospodnetić
a4f4579f19
add changelog entry
2017-12-12 13:41:31 +01:00
Jurko Gospodnetić
e4da9bacdf
fix `actial` --> `actual` typo
2017-12-12 12:55:32 +01:00
Henk-Jaap Wagenaar
1e295535c3
Move _patched_find_module to module namespace.
2017-12-12 09:53:06 +00:00
Henk-Jaap Wagenaar
3ca1e4b7f0
Make patch for issue in pkgutil.ImpImporter local by using contextmanager.
2017-12-12 08:43:01 +00:00
Henk-Jaap Wagenaar
dc19624248
Improve testing comments and code of issue 2985 (symlink in pyargs).
2017-12-12 08:26:40 +00:00