Bruno Oliveira
1c46462991
Fix deprecated_call regression introduced in 2.8.4
...
Fix #1238
2015-12-08 22:40:05 -02:00
Ronny Pfannschmidt
fde2a6f5fd
add changelog entry
2015-12-07 21:58:34 +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
c727860241
bump to 2.8.5.dev
2015-12-06 20:31:14 +01:00
Ronny Pfannschmidt
a3353c49fd
prepare release 2.8.4 - changelog updates + version bump
2015-12-06 16:13:55 +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
Bruno Oliveira
14bc3c4009
Fix pastebin when captured output contains non-ascii characters
...
Fix #1219
2015-12-03 20:07:18 -02: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
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
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
Bruno Oliveira
603d81ef2f
deprecated_call now uses monkey patching strategy to capture warnings
...
similar to what we had in 2.7, with a few enhancements
Fix #1190
2015-11-26 16:48:58 -02:00
Ronny Pfannschmidt
e4a000bb00
refer more explicit to osx el cap in the changelogs
2015-11-18 17:57:41 +01:00
Ronny Pfannschmidt
6096cae3dd
release announcements for 2.8.3
2015-11-18 17:38:31 +01:00
Ronny Pfannschmidt
3dc57d99f2
Changelog groming and release preps for 2.8.3
2015-11-18 17:34:30 +01:00
Bruno Oliveira
a7a470b56f
Give credit where it is due
2015-11-04 19:55:05 -02:00
Lee Kamentsky
313050b15b
Suggested edits by Bruno.
...
Moved fix to TestCaseFunction.setup. Added myself to AUTHORS and added entry to CHANGELOG
2015-11-04 15:30:16 -05:00
gabriel.reis
a83d5c0f08
Updated entries on CHANGELOG and AUTHORS. Ref: #1157
2015-10-28 19:35:04 +00:00
Bruno Oliveira
311b0a9683
Fix situation where a traceback entry "path" returns a str object
...
Fix #1133
2015-10-16 20:18:14 -03:00
Michael Birtwell
a3bda59a30
collection: Prevent non-function callables from being collected
...
Fixes issue 331
previously to this change the collection code would issue a warning for
when ever it encountered a variable that looked like a test but wasn't a
function saying that it wouldn't collect it because it wasn't a function.
This fixes the logic so that if that warning is issued it really isn't
collected.
However previously special cases existed to support tests that were
created using functools.wraps and functools.partial. So the condition for
issuing that warning has been updated to take that in to account
Also try the old way of detecting functions just for proper integration
with mock.path in python 2.7 the get_real_func returned the unbound method
2015-10-12 22:23:18 +01:00
Ronny Pfannschmidt
db077555f6
Merge pull request #1102 from nicoddemus/doctest-fixtures-fix
...
Fix autouse fixtures and doctest modules
2015-10-10 14:21:53 +02:00
TomV
88c8dd96f9
issue1035 Override inspect.isclass for python 2.6
2015-10-09 19:44:47 +01:00
Florian Bruhin
1f6988bdec
Add empty 2.8.3.dev section to CHANGELOG.
2015-10-07 22:47:22 +02:00
Florian Bruhin
42937d4bb6
Prepare 2.8.2 release.
2015-10-06 21:06:25 +02: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
f3cee8f0b5
Merge remote-tracking branch 'upstream/master' into param-ids-fix
2015-10-01 07:58:55 -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
holger krekel
c5fd42b699
start 2.8.2 development
2015-09-29 15:32:33 +02:00
holger krekel
95245b935c
- fix a flaky test on py35-xdist by calling
...
importlib.invalidate_caches()
- bump version to 2.8.1
- regen docs
- amend changelog, authors
2015-09-29 13:10:59 +02:00
Eric Hunsberger
4194c9cce2
Check `deprecated_call` specific to deprecation
...
`deprecated_call` used to accept any warning. As of #897 , it
is now specific to DeprecationWarnings, and another commit in
this PR extends this to PendingDeprecationWarnings. This commit
makes sure this stays the case.
2015-09-28 12:35:24 -04:00
holger krekel
03aca9ea79
add changelog entry for fix #1073
2015-09-28 14:17:58 +02:00
holger krekel
d29084ec2c
add changelog note for fix #704
2015-09-28 11:45:51 +02:00
Bruno Oliveira
e4b18ea5c3
Update CHANGELOG
2015-09-26 03:28:30 -03:00
Ronny Pfannschmidt
acb6b186f2
Merge pull request #1056 from icemac/patch-1
...
Remove duplicate line.
2015-09-23 09:10:20 +02:00
Michael Howitz
730114d088
Remove duplicate line.
2015-09-23 08:53:13 +02:00
Bruno Oliveira
716fa97fa1
Update CHANGELOG
2015-09-22 23:21:36 -03:00
Bruno Oliveira
9d1ae0a149
Merge pull request #1048 from RonnyPfannschmidt/pytest-1029
...
fixes #1029 by handling access errors for cache dirs as pytest warning
2015-09-22 19:04:04 -03:00
Ronny Pfannschmidt
6e51918353
update changelog
2015-09-22 16:33:27 +02:00
Bruno Oliveira
1d2afada83
Minor typo in CHANGELOG
2015-09-22 11:30:00 -03:00
holger krekel
bf9b94595c
fix changelog
2015-09-22 11:18:19 +02:00
holger krekel
41d61ed221
Merge pull request #1023 from RonnyPfannschmidt/fix-877
...
Fix 877
2015-09-22 11:17:02 +02:00
holger krekel
e2f72ffed8
start bugfix changelog on master
2015-09-22 10:59:23 +02:00
holger krekel
a5ff345f7b
fix another occurence of "macro" to "major"
2015-09-22 10:45:55 +02:00
holger krekel
745cd26850
Merge branch 'master' into newbranching
2015-09-22 10:22:05 +02:00
holger krekel
71c5883d52
update according to discussion on pytest-dev and in PR
2015-09-22 10:21:01 +02:00
Floris Bruynooghe
c30eafa254
Update changelog for merged PR.
2015-09-21 14:59:48 +01:00
Floris Bruynooghe
65de43e67d
Mention fix for issue 766 in changelog
...
Fixes issue #766 .
2015-09-21 12:21:24 +01:00
Ronny Pfannschmidt
49c99a41ea
reencode non-ascii python2 assertion reprs, fixes #877
...
i decided against using a warning since the problem goes away with python3
the support code can be removed once we drop python2 in 10 years or so
2015-09-19 00:30:01 +02:00
Bruno Oliveira
f02d9425f9
Bump version to 2.8.0
2015-09-18 19:04:20 -03:00