Ronny Pfannschmidt
|
2241c98b18
|
Merge pull request #3331 from tonybaloney/breakpoint_support
Support for the new builtin breakpoint function in Python 3.7
|
2018-04-10 07:15:29 +02:00 |
Ronny Pfannschmidt
|
1fcadeb2ce
|
extend marker docs with reasons on marker iteration
|
2018-04-05 15:30:31 +02:00 |
Ronny Pfannschmidt
|
e4a52c1795
|
prevent doubleing of function level marks
|
2018-03-30 08:19:45 +02:00 |
Ronny Pfannschmidt
|
802da781c6
|
fix method reference to iter_markers in warning
|
2018-03-30 07:50:12 +02:00 |
Ronny Pfannschmidt
|
dbb1b5a227
|
remove NodeMarkers, turn own_markers into a list and use iter_markers api exclusively
|
2018-03-29 18:24:10 +02:00 |
Ronny Pfannschmidt
|
8805036fd8
|
add node iteration apis
TODO: add tests
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
ee51fa5881
|
add api to iterate over all marerks of a node
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2cb7e725ce
|
document the hack used to avoid duplicate markers due Instance collectors
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
02315c0489
|
remove unnecessary of in the code figuring the fixture names
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
a92a51b01b
|
clarify find_markers return value
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
159ea9b7c0
|
turn Markinfo into atts clsas, and return correct instances of it from node.get_marker
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
ced1316bc8
|
add docstrings for nodemarkers
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
5e56e9b4f6
|
refactor node markers, remove need to be aware of nodes
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2d06ae0f65
|
base metafunc fixtureinfo on the functiondefinition to caputure its marks
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
99015bfc86
|
fix most of metafunc tests by mocking
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
180ae09202
|
deprecate markinfo and fix up most marker scoping access while completely breaking metafunc testing
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
e8feee0612
|
fix up the mark evaluator validity check
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
2707221559
|
port mark evaluation to the new storage and fix a bug in evaluation
|
2018-03-29 17:52:01 +02:00 |
Ronny Pfannschmidt
|
360d608da4
|
introduce a own storage for markers
|
2018-03-29 17:52:01 +02:00 |
Bruno Oliveira
|
2962c7367c
|
Merge pull request #3307 from KKoukiou/rhv-qe-fix
logging.py: Don't change log level of the root logger to bigger numeric value
|
2018-03-27 18:03:22 -03:00 |
Anthony Shaw
|
f1f4c8c104
|
updates for code review recommendations
|
2018-03-27 17:38:17 +11:00 |
Katerina Koukiou
|
d895f5d6fc
|
logging.py: Don't change log level of the root logger to bigger numeric value
|
2018-03-26 10:11:49 +02:00 |
Anthony Shaw
|
0e83e4f292
|
conditional for resetting of sys.breakpointhook for cleanup where breakpoint() not supported
|
2018-03-23 14:26:16 +11:00 |
Anthony Shaw
|
21ada0fa23
|
add check for support of breakpoint() and use Custom Pdb class when system default is set
|
2018-03-23 14:20:10 +11:00 |
Ronny Pfannschmidt
|
d7d4afea17
|
Merge pull request #3330 from nicoddemus/remove-custom-flatten
Remove terminal.flatten function in favor of collapse from more_itertools
|
2018-03-22 14:22:47 +01:00 |
Anthony Shaw
|
3bca983a95
|
add a module global for whether the current runtime supports the builtin breakpoint function
|
2018-03-22 17:27:28 +11:00 |
Bruno Oliveira
|
4e717eb626
|
Remove `terminal.flatten` function in favor of collapse from more_itertools
|
2018-03-21 20:20:46 -03:00 |
Bruno Oliveira
|
6f95189cf7
|
Merge pull request #3306 from nicoddemus/2405-scope-fixture-order
Instantiate fixtures by scope order in test function requests
|
2018-03-21 17:37:05 -03:00 |
Ronny Pfannschmidt
|
add5ce0fb8
|
Merge pull request #3230 from brianmaissy/features
deprecate pytest_plugins in non-top-level conftest
|
2018-03-21 07:44:34 +01:00 |
Bruno Oliveira
|
59e7fd478e
|
Sort fixtures by scope when determining fixture closure
Fix #2405
|
2018-03-20 20:10:53 -03:00 |
Bruno Oliveira
|
d03e38941b
|
Merge pull request #3295 from brianmaissy/feature/last-failed-no-failures-behavior
implemented --last-failed-no-failures
|
2018-03-20 19:17:25 -03:00 |
Ronny Pfannschmidt
|
f61d0525a5
|
Merge pull request #3318 from nicoddemus/merge-master-into-features
Merge master into features
|
2018-03-17 09:40:32 +01:00 |
Bruno Oliveira
|
1fff81e21d
|
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
|
2018-03-16 18:15:28 -03:00 |
Tadeu Manoel
|
a754f00ae7
|
Improve `numpy.approx` array-scalar comparisons
So that `self.expected` in ApproxNumpy is always a numpy array.
|
2018-03-16 09:01:18 -03:00 |
Bruno Oliveira
|
17468fc99c
|
Fix caplog docstring: indentation caused errors during docs build
|
2018-03-16 00:04:28 -03:00 |
Jason R. Coombs
|
b66019202e
|
Fix test failure on Python 2. Ref #3314.
|
2018-03-15 21:33:58 -04:00 |
Jason R. Coombs
|
2f47624b19
|
Allow DontReadFromInput to produce iterator without error. Fixes #3314.
|
2018-03-15 21:26:40 -04:00 |
Tadeu Manoel
|
42c84f4f30
|
Add fixes to `numpy.approx` array-scalar comparisons (from PR suggestions)
|
2018-03-15 13:41:58 -03:00 |
Bruno Oliveira
|
fbcf1a90c9
|
Merge pull request #3193 from pytest-dev/ref-docs
Reference docs
|
2018-03-15 12:04:34 -03:00 |
Tadeu Manoel
|
97f9a8bfdf
|
Add fixes to make `numpy.approx` array-scalar comparisons work with older numpy versions
|
2018-03-14 17:10:35 -03:00 |
Tadeu Manoel
|
161d4e5fe4
|
Add support for pytest.approx comparisons between scalar and array (inverted order)
|
2018-03-14 16:29:04 -03:00 |
Tadeu Manoel
|
c34dde7a3f
|
Add support for pytest.approx comparisons between array and scalar
|
2018-03-14 15:47:21 -03:00 |
Bruno Oliveira
|
cbb2c55dea
|
Merge pull request #3304 from RonnyPfannschmidt/cmdoptions-removal
remove CmdOptions since we can use argparse.Namespace()
|
2018-03-13 17:48:21 -03:00 |
Bruno Oliveira
|
9517c3a2aa
|
Suppress ``IOError`` when closing the temporary file used for capturing streams in Python 2.7.
Fix #2370
|
2018-03-13 17:41:42 -03:00 |
Ronny Pfannschmidt
|
87f2003245
|
remove CmdOptions since we can use argparse.Namespace()
|
2018-03-13 18:13:56 +01:00 |
Ronny Pfannschmidt
|
37a52607c2
|
unify cli verbosity handling
based on https://github.com/pytest-dev/pytest/issues/3294#issuecomment-372190084
we really shouldnt have N options we post mortem hack together to determine verbosity
this change starts by unifying the data, we still need to handle deprecation/removal of config.quiet
|
2018-03-13 07:05:22 +01:00 |
Bruno Oliveira
|
f8791c9246
|
Merge pull request #3292 from RonnyPfannschmidt/exception-attrs
internal refactor port exc FOrmattedExcinfo to attrs, remove old code
|
2018-03-12 20:54:52 -03:00 |
Thomas Hisch
|
5e92644f94
|
Properly reset LogCaptureHandler in caplog
Closes #3297
|
2018-03-13 00:36:51 +02:00 |
Julien Palard
|
e71d907d34
|
Typo in example, os.getcwd does not take any parameter.
|
2018-03-12 15:19:26 +01:00 |
Brian Maissy
|
d2e533b8a3
|
implemented --last-failed-no-failures
|
2018-03-10 22:45:45 +02:00 |