Bruno Oliveira
|
2b9ca34280
|
Unroll calls to any #5062 (#5103)
Unroll calls to any #5062
|
2019-05-27 20:17:44 -03:00 |
Anthony Sottile
|
0a57124063
|
Merge pull request #5063 from asottile/importlib_metadata_v2
Switch to importlib-metadata
|
2019-05-27 15:00:12 -07:00 |
Anthony Sottile
|
13f02af97d
|
Switch to importlib-metadata
|
2019-05-27 13:24:08 -07:00 |
Anthony Sottile
|
b3f8fabac8
|
Merge pull request #5308 from blueyed/minor
Minor fixes
|
2019-05-25 21:58:39 -07:00 |
Tomer Keren
|
22d91a3c3a
|
Unroll calls to all on python 2
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
322a0f0a33
|
Fix mention of issue #5062 in docstrings
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
58149459a5
|
Mark visit_all as a private method
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
852fb6a4ae
|
Change basic test case to be consistent with existing assertion rewriting
The code
```
x = 0
assert x == 1
```
will give the failure message 0 == 1, so it shouldn't be different as
part of an unroll
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
437d6452c1
|
Expand list comprehensions as well
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
e37ff3042e
|
Check calls to all only if it's a name and not an attribute
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
ecd2de25a1
|
Revert "Displaying pip list command's packages and versions #5062"
This reverts commit 043fdb7c40.
These tests were part of the PR #5155 but weren't relevant to #5602
|
2019-05-25 19:34:08 +03:00 |
danielx123
|
c607697400
|
Fixed test case
|
2019-05-25 19:34:08 +03:00 |
danielx123
|
0996f3dbc5
|
Displaying pip list command's packages and versions #5062
|
2019-05-25 19:34:08 +03:00 |
danielx123
|
a0dbf2ab99
|
Adding test cases for unrolling an iterable #5062
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
ddbe733666
|
Add changelog entry for 5062
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
470e686a70
|
Rewrite unrolled assertion with a new rewriter,correctly append the unrolled for loop
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
765f75a8f1
|
Replace asserts of `any` with an assert in a for
|
2019-05-25 19:34:08 +03:00 |
Tomer Keren
|
6b5152ae13
|
Sanity tests for loop unrolling
|
2019-05-25 19:34:08 +03:00 |
Daniel Hahler
|
10ca84ffc5
|
Merge pull request #5119 from blueyed/reportopts-A-order
reportopts: A: put "Pp" in front
|
2019-05-24 18:28:43 +02:00 |
Bruno Oliveira
|
b4d75ad31d
|
Merge pull request #5091 from blueyed/showhelp-ini-options
Improve output of ini options in --help
|
2019-05-23 21:10:43 -03:00 |
Daniel Hahler
|
ec6d0fa4d7
|
Merge pull request #5268 from blueyed/harden-test
tests: harden test_nonascii_text
|
2019-05-24 01:51:35 +02:00 |
Bruno Oliveira
|
6ba5e3c071
|
tests: fix test_trace_after_runpytest (#5245)
tests: fix test_trace_after_runpytest
|
2019-05-23 19:58:33 -03:00 |
Bruno Oliveira
|
b900b4155f
|
importorskip: display/include ImportError (#5269)
importorskip: display/include ImportError
|
2019-05-23 19:25:34 -03:00 |
Daniel Hahler
|
f9f41e69a8
|
reportopts: A: put "Pp" in front
|
2019-05-23 09:40:16 +02:00 |
Daniel Hahler
|
b2ce6f3200
|
Improve output of ini options in --help
Do not cut long help texts, but wrap them the same way as argparse wraps
the other help items.
|
2019-05-23 09:33:07 +02:00 |
Daniel Hahler
|
d19df5efa2
|
importorskip: display/include ImportError
This can provide useful information, e.g.
> could not import 'pyrepl.readline': curses library not found
|
2019-05-20 14:13:33 +02:00 |
Daniel Hahler
|
ff428bfee1
|
tests: harden test_nonascii_text
|
2019-05-17 18:06:32 +02:00 |
Daniel Hahler
|
0f7c7a99bf
|
Merge pull request #5281 from nicoddemus/merge-master-into-features
Merge master into features (make CI green again)
|
2019-05-17 16:58:16 +02:00 |
Bruno Oliveira
|
041ea3704b
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2019-05-16 20:10:44 -03:00 |
Anthony Sottile
|
d94b4b031f
|
Merge pull request #5271 from nicoddemus/lone-surrogate-jython-5256
Handle lone surrogate unicode character not being representable in Jython
|
2019-05-16 15:02:08 -07:00 |
Bruno Oliveira
|
e253029ad0
|
Handle lone surrogate unicode character not being representable in Jython
No tests for this because we don't test with Jython currently.
Fix #5256
|
2019-05-16 17:59:31 -03:00 |
Bruno Oliveira
|
43617a8c47
|
Disable PyPy on Azure (#5274)
Disable PyPy on Azure
|
2019-05-16 17:57:32 -03:00 |
Bruno Oliveira
|
56bf7446f6
|
Disable pypy2 and pypy3 on Azure [travis skip]
Related to #5279
|
2019-05-16 12:20:17 -03:00 |
Bruno Oliveira
|
8e42c5b7db
|
Make it clear that small typos in docs don't require a CHANGELOG entry (#5276)
Make it clear that small typos in docs don't require a CHANGELOG entry
|
2019-05-16 12:15:15 -03:00 |
Bruno Oliveira
|
0571e1ee8e
|
Make it clear that small typos in docs don't require a CHANGELOG entry
From: https://github.com/pytest-dev/pytest/pull/5273#issuecomment-493076587
|
2019-05-16 10:54:50 -03:00 |
Bruno Oliveira
|
b0a6161d41
|
Fixed double `be` word on monkeypatch docs page. (#5273)
Fixed double `be` word on monkeypatch docs page.
|
2019-05-16 10:53:08 -03:00 |
Bruno Oliveira
|
06fa2bc0b8
|
Re-enable pypy3 to see how it fares on Azure
|
2019-05-16 08:10:53 -03:00 |
Bruno Oliveira
|
8abd4aec6e
|
Remove customization of (python.exe) from Azure [skip travis]
This is no longer needed it seems
|
2019-05-16 08:07:59 -03:00 |
Nikita Krokosh
|
858010e214
|
Fixed double `be` word on monkeypatch docs page.
|
2019-05-16 18:22:41 +10:00 |
Bruno Oliveira
|
96424272a1
|
Improve mark docs (#5265)
Improve mark docs
|
2019-05-15 20:52:21 -03:00 |
Bruno Oliveira
|
e44a2ef653
|
Apply suggestions from code review
Co-Authored-By: Daniel Hahler <github@thequod.de>
|
2019-05-15 20:45:22 -03:00 |
Bruno Oliveira
|
c6e3ff3ce5
|
Mention "-m" in the main mark docs
|
2019-05-15 20:45:22 -03:00 |
Bruno Oliveira
|
a31098a74e
|
Move section about mark revamp and iteration to historical notes
This has been in place for a long time now, since 3.6.
|
2019-05-15 20:45:22 -03:00 |
Bruno Oliveira
|
7e8044f9b8
|
Revamp the mark section in the docs
Add an introductory section about how to register marks,
including doing so programatically (#5255).
|
2019-05-15 20:45:22 -03:00 |
Daniel Hahler
|
c8f7e50c47
|
Merge pull request #5262 from asottile/mode_non_binary
Remove 'b' from sys.stdout.mode
|
2019-05-15 10:56:36 +02:00 |
Daniel Hahler
|
c0e53a61e6
|
Merge pull request #5263 from blueyed/mm
Merge master to fix CI
|
2019-05-15 10:55:54 +02:00 |
Bruno Oliveira
|
494ac28a32
|
Merge pull request #5250 from EvanKepner/master
Documentation: add setenv/delenv examples to monkeypatch docs
|
2019-05-14 23:10:58 -03:00 |
Daniel Hahler
|
2db05b6582
|
Merge master into features
|
2019-05-15 00:11:37 +02:00 |
Anthony Sottile
|
4318698bae
|
Remove 'b' from sys.stdout.mode
|
2019-05-14 15:00:59 -07:00 |
Bruno Oliveira
|
e668aaf885
|
Fix indentation and use code-block directives
The code-block directives are required by our blacken-docs hook
|
2019-05-14 18:59:27 -03:00 |