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
Bruno Oliveira
2925f3057f
Merge pull request #3584 from jwodder/fix-3583
...
Fix encoding error with `print` statements in doctests
2018-06-18 08:03:07 -03:00
Anthony Sottile
a93ad1fb77
Merge pull request #3590 from alexbarbato/3525_typo_fixture_docs
...
3525 typo fixture docs
2018-06-16 13:28:21 -07:00
Alex Barbato
561db95521
Add changelog file.
2018-06-16 12:44:19 -04:00
Alex Barbato
9408291c50
Fixing parens typo in fixture.rst
2018-06-16 12:40:25 -04:00
Ronny Pfannschmidt
4dc7b4ace6
Merge pull request #3589 from hynek/master
...
Fix 2 DeprecationWarnings about invalid escape seq
2018-06-16 11:56:35 +02:00
Hynek Schlawack
acb8f23311
Fix 2 DeprecationWarnings about invalid escape seq
2018-06-16 10:37:33 +02:00
Anthony Sottile
b285078db4
Merge pull request #3535 from RonnyPfannschmidt/config-split
...
begin to turn config into package
2018-06-15 10:28:06 -07:00
John T. Wodder II
d382f3e77f
[ #3583 ] Fix encoding error with `print` statements in doctests
...
This fix was suggested by Stack Overflow user phd in
<https://stackoverflow.com/a/50863820/744178 >.
2018-06-15 17:23:54 +00:00
John T. Wodder II
5221a14764
Failing test case for #3583
2018-06-15 17:23:49 +00:00
Bruno Oliveira
4d0297b413
Merge pull request #3577 from RonnyPfannschmidt/addmarker-fix
...
fix addmarker - extract mark from markdecorator
2018-06-13 07:30:22 -03:00
Bruno Oliveira
88ae21f2cc
Add mock dependency to py27-nobyte
2018-06-12 18:07:40 -03:00
Ronny Pfannschmidt
321f66f711
mark test_wrapped_getfuncargnames_patching as xfail
2018-06-12 22:25:05 +02:00
Ronny Pfannschmidt
52c4279918
Merge pull request #3572 from nicoddemus/remove-unused-scripts
...
Remove unused scripts and old docs
2018-06-12 21:57:51 +02:00
Bruno Oliveira
077c44cf69
Merge pull request #3578 from BartoszCki/master
...
Fix three spaces instead of four in docs
2018-06-12 15:17:40 -03:00
Bartosz Cierocki
f786534173
Fix three spaces instead of four in docs
2018-06-12 19:39:51 +02:00
Ronny Pfannschmidt
b0ec442d24
rework Node.add_marker parameter list and docstring
2018-06-12 17:55:58 +02:00
Bruno Oliveira
9a7c3a65f4
Improve CHANGELOG formatting
2018-06-12 11:07:42 -03:00
Ronny Pfannschmidt
37793d4cdb
fix addmarker - extract mark from markdecorator
2018-06-12 15:50:58 +02:00
Ronny Pfannschmidt
1b5322da1b
Merge pull request #3571 from nicoddemus/pre-commit-contributors-guide
...
Improve contributing instructions regarding black/linting
2018-06-12 06:37:18 +02:00
Bruno Oliveira
d6e7b1a21b
Remove obsolete doc/en/test directory
...
Apparently this was an old version of the docs, which has long been superseded
2018-06-11 23:33:09 -03:00