Thomas Kluyver
35bea86c9f
No Starred node type on Python 2
2015-07-15 14:11:21 -07:00
Matthias Bussonnier
d774f3ca86
generify
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
167625d24d
simplify + fix
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
3bc6c0f936
a test
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
3cf82c6594
nigh
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
71a00c3223
try isntall 35 on tox
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
e2e29284f0
allow faillure on 35
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
26e64fc45c
Ast Call signature changed on 3.5
...
fix issue 744 on bitbucket
port of merge request 296
https://bitbucket.org/pytest-dev/pytest/pull-request/296/astcall-signature-changed-on-35
https://bitbucket.org/pytest-dev/pytest/issue/744/
2015-07-15 13:49:40 -07:00
Bruno Oliveira
8f4f2c665d
Mention pytest-runner in the docs
...
Fix #147
2015-07-13 21:59:37 -03:00
Bruno Oliveira
7a71b69a87
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
Conflicts:
tox.ini
2015-07-13 13:43:03 -03:00
holger krekel (rather uses bitbucket/hpk42)
8910ec2870
Merge pull request #836 from nicoddemus/doctest-modules-fixtures
...
Consider session fixtures for doctest docstrings in modules
2015-07-13 18:02:51 +02:00
holger krekel (rather uses bitbucket/hpk42)
c5d26ae1bb
Merge pull request #834 from nicoddemus/show-fixtures-bug
...
Fix: --fixtures only shows fixtures from first file
2015-07-13 17:59:42 +02:00
Bruno Oliveira
d6033037ac
Consider session fixtures for doctest docstrings in modules
...
Fixes #768
2015-07-13 12:29:09 -03:00
Bruno Oliveira
5750ae784a
Reword CHANGELOG a bit
2015-07-13 12:01:54 -03:00
holger krekel (rather uses bitbucket/hpk42)
194581ab5f
Merge pull request #829 from nicoddemus/pep302-get-data-support
...
Add support for PEP302 get_data API
2015-07-13 16:55:16 +02:00
Bruno Oliveira
5ec2a17f08
--fixtures only shows fixtures from first file
...
Fix #833
2015-07-12 17:32:39 -03:00
Bruno Oliveira
7445c5bd70
Add support for PEP302 get_data API
...
Fix #808
2015-07-11 14:13:43 -03:00
Bruno Oliveira
1baa1a4d01
Merge pull request #822 from nicoddemus/extra-usage-info
...
Print inifile and rootdir when there's usage errors
2015-07-11 13:43:20 -03:00
Bruno Oliveira
40ec0ec97d
Merge pull request #823 from nicoddemus/testdirs-option
...
Add new testdirs ini option
2015-07-11 13:42:54 -03:00
Bruno Oliveira
8a6aa5e17e
Print inifile and rootdir when there's usage errors
...
Related to #821
2015-07-10 21:56:12 -03:00
Bruno Oliveira
854e603f84
Add new testdirs ini option
...
Fix #694
2015-07-10 21:52:47 -03:00
Bruno Oliveira
65c56d4c00
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
2015-07-10 19:57:48 -03:00
holger krekel (rather uses bitbucket/hpk42)
e7374c39ba
Merge pull request #825 from nicoddemus/syntax-highlight-docs
...
Add syntax highlighting to missing snippets in the documentation and other fixes
2015-07-10 13:02:52 +02:00
Bruno Oliveira
0ee3ee7333
Add syntax highlighting to missing snippets in the documentation and other fixes
...
- Add explicit "code-block" for sessions without syntax highlight
- Moved Metafunc documentation to the class docstring and reused that in the
docs;
2015-07-09 21:50:38 -03:00
Bruno Oliveira
0624a69964
Merge pull request #824 from hpk42/devpiupload
...
configure a plain "devpi upload" to create sdist and universal wheel
2015-07-09 12:08:52 -03:00
holger krekel
fe897c81be
configure a plain "devpi upload" to create sdist and universal wheel
2015-07-09 14:56:56 +02:00
Bruno Oliveira
ae4c8b8635
Merge pull request #787 from pytest-dev/pluggy-bc-fix
...
Reintroduce get_plugin_manager() for backward-compatibility
2015-07-08 19:28:01 -03:00
Bruno Oliveira
d70a31168b
Merge pull request #820 from jeffwidman/patch-1
...
Fix typo + grammar
2015-07-07 21:13:50 -03:00
Jeff Widman
4fa64a962e
Fix typo + grammar
2015-07-07 16:35:21 -07:00
Bruno Oliveira
438ea86137
Fix flaky test_timing_function in Windows
...
This tests fails consistently on Windows due to small time
difference:
> assert float(val) >= 0.03
E assert 0.0299999713898 >= 0.03
E + where 0.0299999713898 = float('0.0299999713898')
Windows time.time() function is not as accurate as linux's,
so relaxed the test a bit.
2015-07-04 15:05:45 -03:00
Bruno Oliveira
d773c7498f
Reword entry in the changelog to show case the new status bar colors better
2015-07-03 18:36:15 -03:00
Bruno Oliveira
4ef6cdfb68
Add small thanks note to Eric Siegerman
2015-07-03 18:31:15 -03:00
Bruno Oliveira
d10054a38d
Merge branch 'esiegerman/summary_colors' of github.com:esiegerman/pytest
2015-07-03 18:29:17 -03:00
Bruno Oliveira
9293062221
Merge pull request #809 from kevincox/junitxml-file-attribute
...
Add `file` and `line` attributes to junit-xml output.
2015-07-03 08:24:36 -03:00
Kevin Cox
7fa27af408
Add `file` and `line` attributes to junit-xml output.
...
This adds the `file` and `line` attributes to the junit-xml output
which can be used by tooling to identify where tests come from. This can be
used for many things such as IDEs jumping to failures and test
runners evenly balancing tests among multiple executors.
Update test_junitxml.py
Foo.
2015-07-02 18:41:52 -04:00
Eric Siegerman
2c419c4790
Add CHANGELOG and AUTHORS entries
2015-07-02 15:47:03 -04:00
Eric Siegerman
afcad74be8
PEP8ify parametrized-test parameters
2015-07-02 13:39:05 -04:00
Eric Siegerman
6c395cb58c
Default color is now yellow
...
Passing tests override that default, making the color green; but several other
"boring" statuses (xfailed, xpassed, deselected, skipped) have no effect.
Net effect: if only "boring" tests are seen, or no tests at all, the summary
bar is yellow.
2015-07-02 13:39:05 -04:00
Eric Siegerman
044d874c5b
If there are warnings, make the status bar yellow
...
Also if we see any statuses the code doesn't know about.
2015-07-02 13:39:05 -04:00
Eric Siegerman
cb21d844d9
Add missing "error" status to the list
2015-07-02 13:39:05 -04:00
Eric Siegerman
0282da9ddf
Refactor slightly
...
Check for the empty-key special case in the first loop,
not the second.
2015-07-02 13:39:05 -04:00
Eric Siegerman
e07144aeb4
Add tests for the empty-key special case
2015-07-02 13:39:05 -04:00
Eric Siegerman
7993afae46
test_summary_stats() now prints its parameter values
...
This makes it easier to identify failing tests.
2015-07-02 13:39:05 -04:00
Eric Siegerman
bfc3e48fd5
Factor out build_summary_stats_line(), and add tests
...
--HG--
branch : esiegerman/summary_colors
2015-07-02 13:39:04 -04:00
Bruno Oliveira
76497c2542
Fix plugins_index script and update plugins_index.txt
2015-06-30 19:01:28 -03:00
Bruno Oliveira
27a98788a8
start 2.7.3 CHANGELOG
2015-06-26 00:30:26 -03:00
Bruno Oliveira
9fb1637ce2
Test that deprecated_call keeps internal warnings structures intact
2015-06-26 00:26:59 -03:00
Pieter Mulder
75679f08c9
Update AUTHORS and CHANGELOG
2015-06-25 17:38:45 +02:00
Pieter Mulder
444cdfe6e3
Correct test_deprecated_call_preserves test.
...
Test if we preserve the correct functions.
2015-06-25 17:33:40 +02:00
Pieter Mulder
89b00d714f
deprecated_call dit not revert functions back to original
...
Make sure that the warnings.warn and warnings.warn_explicit are reverted
to there original function after running the function in deprecated_call
2015-06-25 17:11:50 +02:00