Jean-Paul Calderone
55ebf261ce
Switch to new API
2018-07-03 13:37:03 -04:00
Bruno Oliveira
b50911285a
Merge pull request #3648 from eelstork/patch-1
...
Fix monkeypatch doc
2018-07-02 10:34:05 -03:00
T.E.A de Souza
a43205b4bc
Fix monkeypatch doc
...
`delenv` is incorrectly documented.
2018-07-02 21:01:41 +08:00
Bruno Oliveira
2b75a311a7
Merge pull request #3637 from RonnyPfannschmidt/fix-3631
...
fix #3631 - don't store legacy markinfo when its impossible
2018-06-30 17:48:46 -03:00
Bruno Oliveira
26e1784e52
Merge pull request #3641 from Sup3rGeo/bugfix/logfile-unicode
...
Fixes #3630
2018-06-30 17:47:24 -03:00
victor
dad3e77319
Improve test readability.
2018-06-30 18:57:24 +02:00
Victor
3a1c15316b
Updated test for python 2.7
2018-06-30 16:11:20 +02:00
Victor
a6636fddcd
Fixed open function with encoding in python 2.7
2018-06-29 17:04:30 +02:00
Victor
738933938a
Added changelog.
2018-06-29 16:18:16 +02:00
Victor
342f2cdc17
Fixes #3630
2018-06-29 16:09:39 +02:00
Ronny Pfannschmidt
5bd5b8c68a
fix #3631 - don't store legacy markinfo when its impossible
2018-06-29 14:01:20 +02:00
Bruno Oliveira
a48c47b53b
Merge pull request #3624 from nicoddemus/skip-appveyor-tags
...
Skip AppVeyor builds on tag pushes
2018-06-27 12:12:21 -03:00
Bruno Oliveira
9a56bb05be
Skip AppVeyor builds on tag pushes
...
We don't deploy anything on tags with AppVeyor, we use Travis instead, so we
might as well save resources
2018-06-27 08:28:34 -03:00
Bruno Oliveira
ef1b91ba87
Merge pull request #3606 from RonnyPfannschmidt/fix-3605
...
Fix 3605
2018-06-26 22:14:28 -03:00
Ronny Pfannschmidt
643e5a9c44
fix docs
2018-06-26 21:57:31 +02:00
Ronny Pfannschmidt
b8486037d3
fix #3605 - unpack markdecorators from parameterization
2018-06-26 21:57:31 +02:00
Ronny Pfannschmidt
78a82c05ef
consistent failure on all python versions for test_markers_from_parametrize
2018-06-26 21:57:31 +02:00
Ronny Pfannschmidt
853975d93b
add failing test for #3605
2018-06-26 21:57:31 +02:00
Ronny Pfannschmidt
f93995e15c
Merge pull request #3614 from asottile/upgrade_hooks
...
Upgrade hooks
2018-06-26 16:30:56 +02:00
Anthony Sottile
f940967e23
Fix test offset after black moved code
2018-06-26 06:35:48 -07:00
Anthony Sottile
cbaa7dd56a
Upgrade pre-commit hooks except pyupgrade
2018-06-26 06:35:27 -07:00
Ronny Pfannschmidt
8133d1955e
Merge pull request #3615 from marcelotrevisani/bug-3593-pytest-approx
...
Bug fix #3593 - approx repr in a 0-d numpy array
2018-06-26 13:04:23 +02:00
Bruno Oliveira
738b715655
Merge pull request #3619 from jdufresne/pypi
...
Update pypi.python.org URLs to pypi.org
2018-06-26 00:00:52 -03:00
Jon Dufresne
1d5316a28b
Update pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-06-25 18:08:49 -07:00
Marcelo Duarte Trevisani
0030ceb11c
Bug fix #3593 - approx method in a single element of numpy array
...
If the user pass as a expected value a numpy array created like
numpy.array(5); it will creates an array with one element without shape,
when used with approx it will raise an error
'TypeError: iteration over a 0-d array'
2018-06-25 22:55:16 +02:00
Ronny Pfannschmidt
42b3125783
Merge pull request #3612 from mimi1vx/patch-1
...
Prefer unittest.mock before mock
2018-06-24 16:33:49 +02:00
Bruno Oliveira
50a0d4fa95
Merge pull request #3613 from asottile/module_spec_warnings
...
Fix `ImportWarning` triggered by explicit relative imports
2018-06-23 18:27:19 -03:00
Ondřej Súkup
deff54aae0
Try import mock, but on python 3.3+ can use also stdlib unittest.mock
...
From Python 3.3 is mock part of python standard library in unittest namespace
2018-06-23 23:27:07 +02:00
Anthony Sottile
22a2734d9a
Merge pull request #3611 from AdamEr8/doc-fix-skipif
...
Doc Fix: skipif's example description
2018-06-23 14:06:30 -07:00
Anthony Sottile
17985b893d
Remove warning filter as well
2018-06-23 10:22:09 -07:00
Anthony Sottile
1d55c49a9a
Fix `ImportWarning` triggered by explicit relative imports
2018-06-23 07:55:49 -07:00
Bruno Oliveira
8cc210708c
Improve changelog and change it to doc
2018-06-22 09:14:59 -03:00
Bruno Oliveira
4970f6d5c2
Improve reason in skipif example
2018-06-22 09:14:12 -03:00
AdamEr8
f883628939
Changelog mistake
...
Used pytest.fixture.skipif instead of pytest.mark.skipif
2018-06-22 08:51:26 +03:00
AdamEr8
40839b5a3a
Rename prnum.trivial.rst to 3611.trivial.rst
2018-06-22 08:46:34 +03:00
AdamEr8
5e56d77542
Create prnum.trivial.rst
...
Added changelog file
2018-06-22 08:33:35 +03:00
Anthony Sottile
630428c611
Merge pull request #3609 from asottile/remove_warning_py2_functools_reduce
...
Silence usage of `reduce` warning in python 2
2018-06-21 15:08:31 -07:00
Anthony Sottile
8b4c59e606
Silence usage of `reduce` warning in python 2
2018-06-21 13:27:00 -07:00
AdamEr8
1ac1ee6fcb
Fixed text description above skipif's example
...
@pytest.mark.skipif's example's description (above the code) was the opposite of the condition in the code,
fixed the description to match the code.
2018-06-21 12:09:56 +03:00
Ronny Pfannschmidt
b7b9c54d27
Merge pull request #3603 from nicoddemus/fix-freeze-job
...
Fix reference to py36-freeze in travis and appveyor
2018-06-21 09:33:59 +02:00
Ronny Pfannschmidt
e86fe38144
Merge pull request #3598 from nicoddemus/small-callspec2-cleanup
...
Remove unused attribute and parameter in CallSpec2
2018-06-20 18:04:34 +02:00
Bruno Oliveira
5b26178397
Merge pull request #3602 from nicoddemus/release-3.6.2
...
Release 3.6.2
2018-06-20 08:12:43 -03:00
Bruno Oliveira
130100bba1
Fix reference to py36-freeze in travis and appveyor
...
Travis and AppVeyor were executing "py35-freeze", which does not actually
exist in tox.ini.
2018-06-20 07:53:41 -03:00
Bruno Oliveira
46aa18dfa7
Lint regendoc changes
2018-06-19 21:34:03 -03:00
Bruno Oliveira
617a5fcf98
Preparing release version 3.6.2
2018-06-20 00:29:58 +00:00
Bruno Oliveira
19ba243cae
Merge pull request #3600 from RonnyPfannschmidt/pyproject-compliance
...
add build-system section to pyproject.toml
2018-06-19 06:58:28 -03:00
Ronny Pfannschmidt
af5d41fdfd
add build-system section to pyproject.toml
...
this makes the file valid and prepares for https://github.com/pypa/pip/issues/5416 and https://github.com/pypa/pip/pull/5512
2018-06-19 10:41:04 +02:00
Bruno Oliveira
85be8bdf49
Merge pull request #3599 from pytest-dev/asottile-patch-1
...
Use --show-diff-on-failure for pre-commit CI invocation
2018-06-18 23:31:01 -03:00
Anthony Sottile
8e9f1d2417
Use --show-diff-on-failure for pre-commit CI invocation
2018-06-18 18:27:48 -07:00
Bruno Oliveira
93e55ad2fa
Remove unused attribute and parameter in CallSpec2
2018-06-18 21:48:49 -03:00