summaryrefslogtreecommitdiff
path: root/testing/code/test_source.py
AgeCommit message (Expand)Author
2021-01-01pytest-dev#8204 migrate tests on testing/code/test_source to tmp_pathsousajo
2020-12-22code: convert from py.path to pathlibRan Benita
2020-10-31code: simplify Code constructionRan Benita
2020-10-31testing/test_source: use unqualified importsRan Benita
2020-10-05py36+: com2annAnthony Sottile
2020-08-04typing: set warn_unreachableRan Benita
2020-07-04testing: skip some unreachable code in coverageRan Benita
2020-07-01code/source: inline getsource()Ran Benita
2020-07-01code/source: remove compiling functionsRan Benita
2020-07-01code/source: remove unused method Source.putaround()Ran Benita
2020-07-01code/source: remove unused method Source.isparseable()Ran Benita
2020-07-01code/source: remove support for comparing Source with strRan Benita
2020-07-01code/source: remove Source(deindent: bool) parameterRan Benita
2020-05-19Add requested comment as per reviewBruno Oliveira
2020-05-19(no) coverageDaniel Hahler
2020-05-19Test behavior of Source with regard to decoratorsDaniel Hahler
2020-05-07Fix tests for python3.9Anthony Sottile
2020-02-03Code/getfslineno: keep empty co_filenameDaniel Hahler
2020-01-29tests: move test_getfslineno backDaniel Hahler
2020-01-29tests: move test_getfslinenoDaniel Hahler
2020-01-19Add a few missing type annotations in _pytest._codeRan Benita
2020-01-14master: update mypy 0.740 -> 0.761Ran Benita
2019-11-16Add type annotations to _pytest._code.codeRan Benita
2019-11-16Remove unneeded getrawcode() calls from testsRan Benita
2019-11-07test_source: do not instantiate Source objects during collectionDaniel Hahler
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-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-05Add _sys_snapshot fixture and use it with more testsDaniel 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-10-25Apply reorder-python-imports to all filesAnthony 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-08-26Improve the coverage of testing/codeAnthony Sottile
2018-08-22py.builtin.exec_ => six.exec_Anthony Sottile
2018-07-08Remove unused fix-lint tox environmentAnthony Sottile
2018-06-26Fix test offset after black moved codeAnthony Sottile
2018-06-26Upgrade pre-commit hooks except pyupgradeAnthony Sottile
2018-05-23fix test_sourceRonny Pfannschmidt
2018-05-23run blackRonny Pfannschmidt