Anthony Sottile
826adafe2e
Improve pre-commit detection for changelog filenames
2018-09-07 09:36:09 -07:00
Bruno Oliveira
b55351274e
Amend CHANGELOG with missing #3251
2018-09-06 18:56:08 -03:00
Bruno Oliveira
1f20626618
Preparing release version 3.8.0
2018-09-05 21:06:32 +00:00
Bruno Oliveira
69b34f7658
Merge remote-tracking branch 'upstream/master' into release-3.8.0
2018-09-05 18:02:02 -03:00
Bruno Oliveira
531b76a513
Merge pull request #3931 from nicoddemus/internal-warnings
...
Use standard warnings for internal pytest warnings
2018-09-05 14:05:52 -03:00
Bruno Oliveira
f63c683faa
No longer escape regex in pytest.mark.filterwarnings
...
Fix #3936
2018-09-05 10:20:25 -03:00
Ronny Pfannschmidt
410d5762c0
Merge pull request #3919 from fabioz/master
...
Improve import performance of assertion rewrite. Fixes #3918 .
2018-09-05 14:33:40 +02:00
Bruno Oliveira
47bf58d69e
Make Node.warn support two forms, new and deprecated
...
As suggested during review, it now accepts two forms:
Node.warn(warning_instance) (recommended)
Node.warn(code, message) (deprecated)
2018-09-04 15:53:17 -03:00
Bruno Oliveira
415a62e373
Fix typo in PytestExperimentalApiWarning
2018-09-04 11:35:35 -03:00
Bruno Oliveira
b818314045
Improve docs for warnings capture and PEP-0506 remarks
2018-09-04 11:35:34 -03:00
Bruno Oliveira
9965ed84da
Show deprecation warnings by default if no other filters are configured
...
Fix #2908
2018-09-04 11:35:34 -03:00
Bruno Oliveira
7e13593452
Add CHANGELOG entries for #2452
...
Fix #2452
Fix #2684
2018-09-04 11:35:34 -03:00
Bruno Oliveira
1a9d913ee1
Capture and display warnings during collection
...
Fix #3251
2018-09-04 11:35:06 -03:00
CrazyMerlyn
b01704cce1
Fix exit code for command line errors
...
Fixes #3913
2018-09-03 04:16:35 +00:00
Bruno Oliveira
885b8a3b4c
Fix linting
2018-09-01 11:13:40 -03:00
Bruno Oliveira
495b44198f
Merge pull request #3917 from dhirensr/docs_for_detailed_info
...
T3566,T3546: added a blurb in usage.rst for usage of flag -r
2018-09-01 10:09:29 -03:00
Fabio Zadrozny
d53e449296
Improve performance of assertion rewriting. Fixes #3918
2018-08-31 12:27:08 -03:00
dhirensr
95881c870e
T3566,T3546: added a blurb in usage.rst for usage of flag -r
2018-08-31 11:20:15 +05:30
Bruno Oliveira
19fa01b91d
Tweak changelog
2018-08-30 21:17:14 -03:00
wim glenn
ed4b94a180
add changelog entry
2018-08-30 18:59:58 -05:00
Bruno Oliveira
11e591e442
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-08-30 19:55:23 -03:00
Bruno Oliveira
84a033fd97
Remove extra newline
2018-08-30 19:48:47 -03:00
Bruno Oliveira
0183d46275
Improve CHANGELOG a bit
2018-08-30 19:44:04 -03:00
dhirensr
ade01b1f5b
T3853:Added changelog file
2018-08-30 16:03:18 +05:30
hoefling
8c96eea583
doc fix: raises accepts tuples instead of lists ( fixes #3907 )
2018-08-30 00:19:59 +02:00
Anthony Sottile
aea962dc21
Preparing release version 3.7.4
2018-08-29 08:57:54 -07:00
Bruno Oliveira
bf47033169
Fix linting
2018-08-28 21:05:34 -03:00
Steve Piercy
37a65684d6
add changelog entry
2018-08-28 14:51:27 -07:00
Bruno Oliveira
10c1c7c41a
Merge pull request #3895 from nicoddemus/issue-3506
...
Avoid possible infinite recursion when writing pyc files in assert rewrite
2018-08-28 18:16:10 -03:00
Bruno Oliveira
b77e533693
Merge pull request #3893 from jirikuncar/3892-macos
...
travis: run tests on macOS
2018-08-28 17:06:17 -03:00
Bruno Oliveira
a605ad4d11
Merge pull request #3880 from jeffreyrack/3829-progress_display_mode
...
#3829 -- Add the ability to show test progress as number of tests completed instead of a percent.
2018-08-28 16:54:14 -03:00
Jeffrey Rackauckas
4b94760c8e
Removed spacing in count display.
2018-08-27 20:23:17 -07:00
Bruno Oliveira
82a7ca9615
Avoid possible infinite recursion when writing pyc files in assert rewrite
...
What happens is that atomic_write on Python 2.7 on Windows will try
to convert the paths to unicode, but this triggers the import of
the encoding module for the file system codec, which in turn triggers
the rewrite, which in turn again tries to import the module, and so on.
This short-circuits the cases where we try to import another file when
writing a pyc file; I don't expect this to affect anything because
the only modules that could be affected are those imported by
atomic_writes.
Fix #3506
2018-08-27 21:29:45 -03:00
Bruno Oliveira
2a059b1c1b
Merge pull request #3885 from nicoddemus/bad-output-classic
...
Fix bad console output when using console_output_style=classic
2018-08-27 19:07:02 -03:00
Jiri Kuncar
ab5af524a4
Fix macOS specific code that uses capturemanager.
...
https://github.com/pytest-dev/pytest/issues/3888#issuecomment-416206606
closes #3888
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2018-08-27 16:07:59 +02:00
Bruno Oliveira
47bb53f5cb
Cache now obeys -q when showing summary for --lf and --ff
...
Related to #3853
2018-08-26 18:08:19 -03:00
Bruno Oliveira
6991a16edb
Fix bad console output when using console_output_style=classic
...
Fix #3883
2018-08-26 17:12:55 -03:00
Bruno Oliveira
2f2d5861bb
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-08-26 16:45:00 -03:00
Bruno Oliveira
c31018d9bc
Preparing release version 3.7.3
2018-08-26 12:43:43 +00:00
Jeffrey Rackauckas
dda5e5ea32
Fixing backticks in changelog file.
2018-08-25 21:55:00 -07:00
Jeffrey Rackauckas
5e260c4d34
Fixing changelog file.
2018-08-25 21:50:19 -07:00
Bruno Oliveira
de6f2c0336
Collect tests from __init__.py files if they match 'python_files'
...
Fix #3773
2018-08-25 11:18:52 -03:00
Bruno Oliveira
be4b359c74
Merge pull request #3861 from jonozzz/fix-3854
...
Fix #3854
2018-08-25 10:44:08 -03:00
turturica
8cf0e46bbf
test_package_ordering: Collect *.py, but keep a mix of case for filenames. The test doesn't make sense for Windows, because of its case-insensitivity.
2018-08-24 16:23:50 -07:00
turturica
dce8df45d5
Added changelog items.
2018-08-24 15:51:42 -07:00
Andrew Champion
f6948597e4
add to changelog
2018-08-24 12:29:18 -07:00
Jeffrey Rackauckas
93f783228c
Add the progress_display_mode ini option
2018-08-23 22:56:25 -07:00
wim glenn
d54aa8ce13
Merge pull request #3848 from wimglenn/pytester_unicode_bugfixes
...
fixed a bunch of unicode bugs in pytester.py
2018-08-23 13:45:49 -05:00
Bruno Oliveira
8804c7333a
Fix CHANGELOG formatting
2018-08-22 20:06:13 -03:00
Jennifer Rinker
a12eadd9ef
resolving Issue #3824 - expanding docs
2018-08-22 15:37:35 +02:00