summaryrefslogtreecommitdiff
path: root/testing/code
AgeCommit message (Expand)Author
2019-11-16Add type annotations to _pytest._code.codeRan Benita
2019-11-16Simplify a FormattedExcinfo testRan Benita
2019-11-16Remove unneeded getrawcode() calls from testsRan Benita
2019-11-07tests: use ids (#6145)Daniel Hahler
2019-11-07Merge pull request #6143 from blueyed/test_sourceDaniel Hahler
2019-11-07test_exc_chain_repr_without_traceback: use idsDaniel Hahler
2019-11-07test_source: do not instantiate Source objects during collectionDaniel Hahler
2019-11-06saferepr: handle BaseExceptionsDaniel Hahler
2019-11-05typing around Node.location, reportinfo, repr_excinfo etcDaniel Hahler
2019-10-09Improve ExceptionInfo.__repr__Daniel Hahler
2019-10-06Use new no-match functions to replace previous idiomBruno Oliveira
2019-09-14Handle --fulltrace with pytest.raisesDaniel Hahler
2019-08-26Move TWMock class to a fixtureBruno Oliveira
2019-08-02Merge master into featuresDaniel Hahler
2019-08-01shouldnt -> shouldn'tSemen Zhydenko
2019-07-14Allow creating ExceptionInfo from existing exc_info for better typingRan Benita
2019-07-09Add rudimentary mypy type checkingRan Benita
2019-07-09Add rudimentary mypy type checkingRan Benita
2019-06-06Remove ExceptionInfo.__str__, falling back to __repr__Bruno Oliveira
2019-06-04Clean up u' prefixes and py2 bytes conversionsAnthony Sottile
2019-06-03Allow multiple positions for the SyntaxError in pypy3.6Anthony Sottile
2019-06-03manual: remove dependence on sixAnthony Sottile
2019-06-03pre-commit run pyupgrade --all-filesAnthony Sottile
2019-06-03pre-commit run reorder-python-imports --all-filesAnthony Sottile
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-06-02Drop Python 2.7 and 3.4 supportBruno Oliveira
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-05-14Normalize all source encoding declarationsBruno Oliveira
2019-05-11Further "unknown marks warning" improvements (#5178)Bruno Oliveira
2019-05-09Remove unused markers and enable --strict-markersBruno Oliveira
2019-05-06Use exec directlyAnthony Sottile
2019-04-19Fix handle repr error with showlocals and verbose outputNikolay Kondratyev
2019-04-05Add _sys_snapshot fixture and use it with more testsDaniel Hahler
2019-03-23ExceptionInfo.from_current: assert current exceptionDaniel Hahler
2019-03-01Run isortDaniel Hahler
2019-02-16Fix python3.8 / pypy failuresAnthony Sottile
2018-11-29Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)')Anthony Sottile
2018-11-22fix #4386 - restructure construction and partial state of ExceptionInfoRonny Pfannschmidt
2018-10-25Apply reorder-python-imports to all filesAnthony Sottile
2018-10-12New ExceptionInfo.getrepr 'chain' parameter to be able to suppress chained ex...Bruno Oliveira
2018-10-08Increase recursion limit (broke xdist tests)Anthony Sottile
2018-10-08Use RuntimeError for py27 + py34 compatAnthony Sottile
2018-10-08Improve performance of ~3 of the slowest testsAnthony Sottile
2018-10-03Remove duplicate test (tested above)Anthony Sottile
2018-10-02Fix source reindenting by using `textwrap.dedent` directly.Anthony Sottile
2018-10-01Fix test to comply with pypy 6.0Bruno Oliveira
2018-09-12tests: use unittest.mock with py34+Daniel Hahler
2018-08-26Improve the coverage of testing/codeAnthony Sottile
2018-08-23Merge pull request #3859 from asottile/pyupgrade_1_4Anthony Sottile
2018-08-23Replace Source with dedent where possibleAnthony Sottile