summaryrefslogtreecommitdiff
path: root/tests/test_oddball.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: no placebos, use true OptionalNed Batchelder2023-02-141-0/+1
| | | | | | For objects that truly might not exist, use Optional. Some objects will always exist eventually, and for those we have some null implementation standins to use without making new placebo classes.
* mypy: turn on disallow_untyped_decoratorsNed Batchelder2023-01-121-1/+1
|
* mypy: install pytest alongside mypy to get its typesNed Batchelder2023-01-101-0/+1
|
* mypy: test_goldtest.py test_json.py test_lcov.py test_mixins.py ↵Ned Batchelder2023-01-051-20/+21
| | | | test_numbits.py test_oddball.py
* mypy: check collector.py and plugin_support.pyNed Batchelder2023-01-011-1/+1
|
* test: a sorted_lines helperNed Batchelder2022-12-311-3/+3
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-301-9/+0
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-6/+6
|
* doc, test: clean up from 'better tracing of pytracer changed'Ned Batchelder2022-02-061-2/+2
| | | | | Commit d35e8c4624bd074c4e55a8e8a33c343f734299db changed the message, but the docs and tests weren't updated.
* refactor(test): a context manager to swallow warningsNed Batchelder2022-02-041-2/+3
|
* debug: better tracing of pytracer changedNed Batchelder2022-01-301-1/+8
|
* build: make upgradenedbat/upgrade-with-kitsNed Batchelder2021-11-301-1/+1
|
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-1/+1
|
* fix: changes for PyPy3.8Ned Batchelder2021-10-251-0/+1
| | | | | | | | | | - Update tox.ini to let us run against PyPy3.8 - Some 3.8 behavior is (apparently) only on CPython - PyPy3.8 doesn't get along with virtualenv yet (https://github.com/pypa/virtualenv/issues/2182), so use venv instead for our virtualenv tests.
* fix: avoid measuring generated code. #1160Ned Batchelder2021-10-181-3/+19
|
* style: prefer explicit string concatenationNed Batchelder2021-10-101-3/+3
|
* feat: warnings are now real warningsNed Batchelder2021-05-301-12/+14
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* test: traced file names seem to be absolute now? #1161Ned Batchelder2021-05-081-7/+9
| | | | | This was changed in 3.10.0b1 and 3.9.5. Seems like a strange change to throw into 3.9.5, but there it is. Fixes #1161.
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-3/+2
|
* refactor: move the remaining backward.py code, no more backward.pyNed Batchelder2021-05-011-1/+1
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-1/+0
|
* test: reduce use of unittestNed Batchelder2021-03-111-1/+1
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-11/+5
|
* test: more-uniform skipping of test during metacovNed Batchelder2021-02-071-3/+2
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-12/+10
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-32/+27
| | | | One step of moving to pure pytest tests.
* More bitbucket->github urlsNed Batchelder2020-08-181-7/+7
|
* Don't trace non-encodable file names. #891Ned Batchelder2020-01-011-0/+13
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-1/+1
|
* Asserts should be expected,actualNed Batchelder2018-12-241-1/+1
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Upgrade most dependenciesNed Batchelder2018-05-051-9/+0
|
* Private attributes should be indicatedNed Batchelder2018-03-131-1/+1
|
* Update URLs so link-checker doesn't spew red.Ned Batchelder2017-06-141-1/+1
|
* Properly round-trip the trace function even when not measuring coverage. #575Ned Batchelder2017-05-021-27/+30
|
* Add to gettrace/settrace test to be sure it's re-establishedNed Batchelder2017-04-301-1/+3
|
* Get rid of an unnecessary methodNed Batchelder2017-02-101-1/+2
|
* Get rid of some unused code pathsNed Batchelder2017-01-201-11/+7
|
* More-precise no-coverage pragmasNed Batchelder2017-01-191-1/+1
|
* No test failures on JythonNed Batchelder2017-01-181-0/+10
| | | | One or two of these are questionable accommodations, but there are no failures.
* The ram test has always been flaky. Mark it as such.Ned Batchelder2017-01-181-0/+2
|
* A cleaner way to exclude Jython concerns from meta-coverage.Ned Batchelder2017-01-161-1/+1
|
* Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-141-0/+3
| | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
* Tweak some coverage pragmasNed Batchelder2017-01-111-6/+6
|
* The PyPy-specific test for atexit/gettrace are also PyPy-version-specific...Ned Batchelder2016-12-311-2/+2
|
* Don't run the atexit-gettrace test during metacovNed Batchelder2016-12-311-0/+3
|
* Add a test of the atexit/gettrace behaviorNed Batchelder2016-12-311-0/+31
|
* A test that isn't used yet, to test the refcount problem fixed this morningNed Batchelder2016-12-291-0/+37
|
* More-accurate pragmasNed Batchelder2016-11-291-2/+2
|
* Optionally use pytest as the test runnerNed Batchelder2016-11-011-1/+2
|