Ronny Pfannschmidt
02f5defd89
yapf junitxml
2015-12-07 21:54:24 +01:00
Bruno Oliveira
efb5332023
Merge pull request #1186 from RonnyPfannschmidt/fix-manifest
...
fix #1185 - ensure MANIFEST.in exactly matches what should go to a sdist
2015-12-07 13:48:39 -02:00
Ronny Pfannschmidt
b9908cc036
Merge pull request #1228 from pytest-dev/pytest-2.8.4
...
finish the release process of pytest 2.8.4
2015-12-06 20:32:52 +01:00
Ronny Pfannschmidt
c727860241
bump to 2.8.5.dev
2015-12-06 20:31:14 +01:00
Ronny Pfannschmidt
8c17c7cd12
correct copy&paste error in the release announcement version number
2015-12-06 17:44:08 +01:00
Ronny Pfannschmidt
b7459b8a64
finish release announcement
2015-12-06 16:46:44 +01:00
Ronny Pfannschmidt
b920f09a95
doc regen for release 2.8.4
2015-12-06 16:14:23 +01:00
Ronny Pfannschmidt
a3353c49fd
prepare release 2.8.4 - changelog updates + version bump
2015-12-06 16:13:55 +01:00
Ronny Pfannschmidt
a4a12b8356
Merge pull request #1227 from nicoddemus/warn-deprecated-call
...
Add a note about how DeprecationWarning and PendingDeprecationWarning are treated differently
2015-12-06 10:52:58 +01:00
Ronny Pfannschmidt
13ae2fe28b
adopt review comment of #1186
2015-12-06 10:24:24 +01:00
Ronny Pfannschmidt
141a463fed
fix #1185 - ensure MANIFEST.in exactly matches what should go to a sdist
2015-12-06 10:24:24 +01:00
Ronny Pfannschmidt
f508a52ca9
Merge pull request #1225 from pytest-dev/skipping-docs-inconsistency
...
Fix inconsistency in skipif example
2015-12-05 20:44:01 +01:00
Bruno Oliveira
b48a02fdb1
Add a note about how DeprecationWarning and PendingDeprecationWarning are treated differently
...
Fix #1026
2015-12-05 13:53:58 -02:00
Bruno Oliveira
382efc6363
Fix same inconsistency in next example
2015-12-05 00:43:06 -02:00
Bruno Oliveira
1bed514eb6
Fix inconsistency in skipif example
...
Fix #1224
2015-12-05 00:35:31 -02:00
Bruno Oliveira
41f19796e8
Merge pull request #1212 from nicoddemus/goodpractices
...
Goodpractises docs reorganization/review
2015-12-05 00:27:28 -02:00
Ronny Pfannschmidt
427e6c3b4d
Merge pull request #1222 from nicoddemus/pastebin-unicode
...
Fix #1222 - pastebin when captured output contains non-ascii characters
2015-12-04 07:10:49 +01:00
Bruno Oliveira
14bc3c4009
Fix pastebin when captured output contains non-ascii characters
...
Fix #1219
2015-12-03 20:07:18 -02:00
Florian Bruhin
7e063eec08
Merge pull request #1221 from jeffwidman/patch-1
...
Fix typo: previosuly --> previously
2015-12-03 21:25:40 +01:00
Jeff Widman
61934ae82d
Fix typo: previosuly --> previously
2015-12-03 11:56:18 -08:00
Bruno Oliveira
8c74bb0d25
Improve description on how pytest starts test collection in goodpractises
2015-12-03 01:01:34 -02:00
Bruno Oliveira
bb4771cedf
Remove promise about documenting how to create a zipped pytest
2015-12-03 00:13:16 -02:00
Bruno Oliveira
9475cd3fb8
Replace "--assertmode=off" by "--assert=plain"
...
Fix #1214
2015-12-02 18:39:32 -02:00
Bruno Oliveira
464e16deca
Removed incorrect note about genscript requiring wheels
2015-12-02 18:33:53 -02:00
Bruno Oliveira
d9b78f2a95
Remove reference to distutils
2015-12-02 18:30:12 -02:00
Ronny Pfannschmidt
7232b45f25
Merge pull request #1213 from nicoddemus/pastebin-py3
...
merge Pastebin py3 support
also closes #1202 and fixes #1198
2015-12-02 09:08:50 +01:00
Bruno Oliveira
a54e4e64cd
Merge remote-tracking branch 'upstream/master' into pastebin-py3
2015-12-01 23:51:14 -02:00
Bruno Oliveira
edfb567091
Add #1198 fix to CHANGELOG
2015-12-01 23:37:16 -02:00
Bruno Oliveira
6a2ebddc7c
Decode urlopen response in pastebin
...
Fix #1198
2015-12-01 23:33:37 -02:00
Bruno Oliveira
5040dde0c5
Fix genscript deprecation version and document reasons for such
2015-12-01 23:09:15 -02:00
Bruno Oliveira
095abfd035
Fix formatting errors
2015-12-01 22:52:22 -02:00
Bruno Oliveira
69ef0ab189
Merged virtual env into the Tox section
...
Nowadays virtualenv use is widespread so we don't need to
devote a how-to section in pytest's docs
2015-12-01 22:47:36 -02:00
Bruno Oliveira
d851a8fd07
Fixed some formatting
2015-12-01 22:43:11 -02:00
Bruno Oliveira
0704fcacd7
Removed setuptools/genscript session
2015-12-01 22:32:07 -02:00
Bruno Oliveira
4f17d56ecb
Move deprecated genscript method to the bottom of the document
2015-12-01 22:30:08 -02:00
Bruno Oliveira
b1f6dc23da
Moved "conventions for Python test discovery to the top"
2015-12-01 22:28:20 -02:00
Bruno Oliveira
c6f90c25e3
Remove finalize_options override from goodpractices
...
This is not required in latest versions of `setuptools`, and
`self.test_args` is a read-only attribute in some of the
versions of the 18.X series.
Fix #1134
2015-12-01 22:20:40 -02:00
Florian Bruhin
f0e5cb362e
Merge pull request #1211 from nchammas/patch-1
...
Update xdist newhooks.py link; BitBucket -> GitHub
2015-12-01 20:15:40 +01:00
Nicholas Chammas
c7cf4adfd0
Update xdist link; BitBucket -> GitHub
...
xdist is now hosted on GitHub.
2015-12-01 13:20:55 -05:00
Ronny Pfannschmidt
def543924b
Merge pull request #1209 from jeffwidman/master
...
Fix spelling: explicitely --> explicitly
2015-12-01 10:51:26 +01:00
Jeff Widman
6be6798cdf
Fix spelling: explicitely --> explicitly
2015-12-01 01:41:47 -08:00
Ronny Pfannschmidt
ce4eb51ee0
Merge pull request #1208 from The-Compiler/no-tests-run-spelling
...
Fix spelling mistake in #1207 .
2015-11-30 17:40:26 +01:00
Florian Bruhin
0d2668017d
Fix spelling mistake in #1207 .
2015-11-30 17:33:34 +01:00
Ronny Pfannschmidt
e7e4860ded
Merge pull request #1207 from The-Compiler/no-tests-run
...
Fix terminal output if no tests were run.
2015-11-30 17:26:47 +01:00
Florian Bruhin
aba55a0fb2
Fix terminal output if no tests were run.
...
Before:
==== in 0.00 seconds ====
After:
==== no tests run in 0.00 seconds ====
2015-11-30 17:24:40 +01:00
Ronny Pfannschmidt
b5d65e5139
Merge pull request #1206 from The-Compiler/collect-getattr
...
Don't collect classes with truthy __getattr__.
2015-11-30 17:23:47 +01:00
Ronny Pfannschmidt
3a3f0f5c56
Merge pull request #1205 from The-Compiler/reportinfo-getattr
...
Fix getting line number with nasty __getattr__. fixes #1204
2015-11-30 17:23:05 +01:00
Florian Bruhin
ba9146c131
Don't collect classes with truthy __getattr__.
...
When we have a metaclass which returns something truthy (like a method) in its
__getattr__, we collected the class because pytest thought its __test__
attribute was set to True.
We can work around this to some degree by assuming __test__ will always be set
to an explicit True if that's what the user has intended, and if it's something
other than that, this is probably a mistake.
Fixes #1204 .
2015-11-30 16:41:13 +01:00
Florian Bruhin
c790f7475e
Fix getting line number with nasty __getattr__.
...
When an object has a custom __getattr__ which always returns a non-int, we
tried to get compat_co_firstlineno from it and checked it was a integer, which
caused an exception if such a class is mistakenly collected.
If we still mistakenly collect such a class (which is likely to be something
other than a test), we now skip it with a warning (because it probably has an
__init__) instead of producing an error.
See #1204 .
2015-11-30 16:13:15 +01:00
mehdy
f9b1e39b8a
fix #1198 - decoding monkeypatched data to unicode
2015-11-29 19:42:50 +03:30