Bruno Oliveira
0bb29d5649
Merge pull request #3685 from nicoddemus/merge-master-into-features
...
Merge master into features
2018-07-15 16:53:39 -03:00
Bruno Oliveira
ac9ceaacd8
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-07-15 11:54:14 -03:00
Tadek Teleżyński
d2fe619120
Fix truncated locals in verbose mode
2018-07-15 11:30:26 -03:00
Bruno Oliveira
f6ceedd15b
Merge pull request #3636 from RonnyPfannschmidt/fixturetest-examples
...
[RFC] Fixturetest examples - move test contents to use example scripts for contents
2018-07-11 23:29:33 -03:00
Bruno Oliveira
593b451373
Merge pull request #3670 from asottile/remove_unused_fix_lint
...
Remove unused fix-lint tox environment
2018-07-10 19:08:31 -03:00
Anthony Sottile
61301d934e
Remove some extraneous `# noqa` comments
...
This was partially automated with https://github.com/asottile/yesqa
_with a few caveats_:
- it was run under python2 (chosen arbitrarily, when run under python3 other
things were changed)
- I used `git checkout -p` to revert the removal of `noqa` comments from
`cmp()` lines.
2018-07-08 17:05:52 -07:00
Anthony Sottile
af0059079c
Remove unused fix-lint tox environment
2018-07-08 17:05:01 -07:00
Anthony Sottile
4ae93a7a07
Remove obsolete __future__ imports
2018-07-08 08:37:02 -07:00
Anthony Sottile
42bbb4fa8a
Use -mpytest when invoking pytest in pytester
2018-07-07 17:18:44 -07:00
Bruno Oliveira
303133f013
Merge pull request #3647 from jeffreyrack/3610-add-trace-option
...
3610 add trace option
2018-07-07 10:05:34 -03:00
Bruno Oliveira
3c19370cec
Merge remote-tracking branch 'upstream/features' into jonozzz/features
2018-07-05 18:15:17 -03:00
Bruno Oliveira
7696d5371a
Merge remote-tracking branch 'upstream/master' into features
2018-07-04 18:49:35 -03:00
Jeffrey Rackauckas
067de257e1
Fix test_pdb.py with pexpect
2018-07-02 21:03:21 -07:00
Jeffrey Rackauckas
4a925ef5e9
Fixing bug in test.
2018-07-02 20:29:59 -07:00
Jeffrey Rackauckas
2f1a2cf07f
Fixing --trace test.
2018-07-02 19:55:08 -07:00
Jeffrey Rackauckas
6cc4fe2412
Fixing bad indentation
2018-07-02 19:53:46 -07:00
Jeffrey Rackauckas
10a8691eca
Add support for yielded functions.
2018-07-02 19:46:26 -07:00
Jeffrey Rackauckas
bc268a58d1
Adding needed newline
2018-07-01 20:22:50 -07:00
Jeffrey Rackauckas
0b70477930
Fix linting issues.
2018-07-01 20:18:00 -07:00
Jeffrey Rackauckas
533f4cc10c
Fix test to pass
2018-06-30 21:36:27 -07:00
Jeffrey Rackauckas
952bbefaac
Add initial test.
2018-06-30 18:26:58 -07: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
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
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
Ronny Pfannschmidt
0fd86ec8a8
move some fill fixture acceptance tests contents to the examples script folder
2018-06-29 10:58:33 +02:00
Ronny Pfannschmidt
4ae7e9788c
fix quotes in scope order test
2018-06-29 07:13:18 +02:00
Ronny Pfannschmidt
5582ad0445
remove use of formatting in test_func_closure_module_auto
...
this makes it apparent that pytester should supply some kind of variable support
2018-06-29 07:07:03 +02:00
Ronny Pfannschmidt
982b614010
remove format calls for most fixture tests
2018-06-29 07:07:03 +02:00
Ronny Pfannschmidt
7845ab4bc3
remove test file formatting from TestContextManagerFixtureFuncs
2018-06-29 07:07:03 +02:00
Bruno Oliveira
8680dfc939
Merge pull request #3629 from egnartsms/issue-2220-param-breaks-dep
...
Make test parametrization override indirect fixtures
2018-06-28 21:43:21 -03:00
Ronny Pfannschmidt
3c73d6298a
merge from master to features
2018-06-28 17:32:41 +02:00
Serhii Mozghovyi
1dc5e97ac2
Make test parametrization override indirect fixtures
2018-06-28 14:32:29 +03:00
Bruno Oliveira
e9371a58a0
Merge pull request #3622 from RonnyPfannschmidt/builtin-serialize
...
move report classes to own file to prepare for serialisazion
2018-06-27 15:17:09 -03:00
Ronny Pfannschmidt
e860ff7299
port some acceptance tests over to copy_example
2018-06-26 22:59:40 +02:00
Ronny Pfannschmidt
cc6eb9f83c
move test reports to own file
2018-06-26 22:09:15 +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
89e0a3ec27
merge from master to features
2018-06-26 17:01:05 +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
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
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
Ronny Pfannschmidt
ee30bf45c9
rebase onto readme addition
2018-06-23 00:03:10 +02:00
Ronny Pfannschmidt
c7eb53317b
port cache plugin internals to pathlib
...
warning logging got broken by detanglement from config
2018-06-22 23:56:22 +02:00
avirlrma
c672bfa32e
added changelog entry
...
moved cache readme tests to test_cacheprovider.py
2018-06-21 17:43:10 +05:30
avirlrma
8f1d8ac970
fixed linting errors
...
ran black
removed unused imports and variables
2018-06-21 15:15:55 +05:30