Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-04 | #7942 test_session.py migrate from testdir to pytester | duthades | |
- Add name to AUTHORS | |||
2020-10-03 | py36+: pyupgrade: py36+ | Anthony Sottile | |
2020-02-28 | Simplify test_rootdir_wrong_option_arg (#6812) | Daniel Hahler | |
2020-02-10 | Move ExitCode's definition from _pytest.main to _pytest.config | Ran Benita | |
ExitCode is used in several internal modules and hooks and so with type annotations added, needs to be imported a lot. _pytest.main, being the entry point, generally sits at the top of the import tree. So, it's not great to have ExitCode defined in _pytest.main, because it will cause a lot of import cycles once type annotations are added (in fact there is already one, which this change removes). Move it to _pytest.config instead. _pytest.main still imports ExitCode, so importing from there still works, although external users should really be importing from `pytest`. | |||
2019-11-06 | saferepr: handle BaseExceptions | Daniel Hahler | |
This causes INTERNALERRORs with pytest-django, which uses `pytest.fail` (derived from `BaseException`) to prevent DB access, when pytest then tries to e.g. display the `repr()` for a Django `QuerySet` etc. Ref: https://github.com/pytest-dev/pytest-django/pull/776 | |||
2019-06-15 | initial conversion of exit codes to enum | Ronny Pfannschmidt | |
2019-06-03 | pre-commit run pyupgrade --all-files | Anthony Sottile | |
2019-06-03 | pre-commit run reorder-python-imports --all-files | Anthony Sottile | |
2019-06-03 | pre-commit run fix-encoding-pragma --all-files | Anthony Sottile | |
2019-05-28 | Merge master into features | Daniel Hahler | |
2019-05-14 | Use fix-encoding-pragma pre-commit hook | Anthony Sottile | |
2019-05-14 | minor: s/no covers/no cover/ | Daniel Hahler | |
2019-04-19 | Fix handle repr error with showlocals and verbose output | Nikolay Kondratyev | |
2019-03-26 | Merge master into features | Daniel Hahler | |
2019-03-26 | Merge pull request #4979 from blueyed/minor | Daniel Hahler | |
Minor: whitespace, typo, docs | |||
2019-03-24 | test_implicit_bad_repr1: harden/cleanup | Daniel Hahler | |
2019-03-24 | Fix pytest's own tests with `-W error::ResourceWarning` | Daniel Hahler | |
2019-03-22 | Revisit coverage in some tests | Daniel Hahler | |
2019-03-02 | Do not show "inifile:" string if there's no configuration file | Bruno Oliveira | |
2019-02-06 | Add ability to exclude files matching glob patterns with --ignore-glob | Christian Fetzer | |
This adds the `--ignore-glob` option to allow Unix-style wildcards so that `--ignore-glob=integration*` excludes all tests that reside in files starting with `integration`. Fixes: #3711 | |||
2019-01-13 | Remove some dead code | Anthony Sottile | |
- I wrote a thing: https://github.com/asottile/dead - wanted to try it out, there's lots of false positives and I didn't look through all the things it pointed out but here's some | |||
2018-11-30 | remove yield tests and compat properties | Ronny Pfannschmidt | |
2018-11-29 | Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)') | Anthony Sottile | |
2018-11-16 | fix #4400 - rearrange the handling of yield test warnings/errors | Ronny Pfannschmidt | |
2018-11-13 | Merge remote-tracking branch 'upstream/master' into merge-master-into-features | Bruno Oliveira | |
2018-11-10 | Add test for --deselect without "::()" | Daniel Hahler | |
Closes: https://github.com/pytest-dev/pytest/issues/4127. | |||
2018-11-09 | Fix nodes._check_initialpaths_for_relpath for dirs | Daniel Hahler | |
Ref: https://github.com/pytest-dev/pytest/issues/4321#issuecomment-436951894 Hardens some of the not many tests affected by this: 1. `testing/test_session.py::test_rootdir_option_arg` displayed: > root/test_rootdir_option_arg2/test_rootdir_option_arg.py 2. `test_cmdline_python_namespace_package` displayed "hello/" prefix for: > hello/test_hello.py::test_hello > hello/test_hello.py::test_other | |||
2018-11-01 | Move handling of duplicate files | Daniel Hahler | |
This removes the hack added in https://github.com/pytest-dev/pytest/pull/3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac7743. | |||
2018-10-26 | Merge pull request #4241 from blueyed/move-duplicates | Bruno Oliveira | |
Move handling of duplicate files | |||
2018-10-25 | Move handling of duplicate files | Daniel Hahler | |
This removes the hack added in https://github.com/pytest-dev/pytest/pull/3802. Adjusts test: - it appears to not have been changed to 7 intentionally. - removes XXX comment, likely not relevant anymore since 6dac7743. | |||
2018-10-25 | Apply reorder-python-imports to all files | Anthony Sottile | |
2018-06-26 | Upgrade pre-commit hooks except pyupgrade | Anthony Sottile | |
2018-05-23 | run black | Ronny Pfannschmidt | |
2018-02-16 | Add --deselect command line option | Jordan Speicher | |
Fixes #3198 | |||
2018-02-01 | #1642 Fix comments | feuillemorte | |
2018-02-01 | #1642 Fix tests | feuillemorte | |
2018-02-01 | #1642 fix tests and config.py | feuillemorte | |
2018-01-25 | #1642 Fix tests | feuillemorte | |
2018-01-20 | #1642 Fix rootdir option | feuillemorte | |
2018-01-17 | #1642 remove print | feuillemorte | |
2018-01-17 | #1642 Add rootdir option | feuillemorte | |
2017-11-04 | Fix linting E741: ambiguous variable name | Bruno Oliveira | |
2017-07-17 | Fixed E731 flake8 errors | Andras Tim | |
do not assign a lambda expression, use a def | |||
2017-07-17 | Fixed E302 flake8 errors | Andras Tim | |
expected 2 blank lines, found 0 | |||
2017-07-17 | Fixed E265 flake8 errors | Andras Tim | |
block comment should start with ‘# ‘ | |||
2017-07-17 | Fixed E261 flake8 errors | Andras Tim | |
at least two spaces before inline comment | |||
2017-03-16 | Add __future__ imports to all pytest modules | Bruno Oliveira | |
This prevents silly errors from creeping in Python 2 when testing in Python 3 | |||
2017-03-10 | Merge remote-tracking branch 'upstream/master' into merge-master-into-features | Bruno Oliveira | |
# Conflicts: # AUTHORS # CHANGELOG.rst # _pytest/pytester.py | |||
2017-02-16 | New-style classes implemented for python 2.7 - #2147 | Michal Wajszczuk | |
2017-02-15 | Spelling fixes | Ville Skyttä | |