Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mypy: Iterator is better than Generator | Ned Batchelder | 2023-01-05 | 1 | -2/+2 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test_debug.py test_execfile.py test_filereporter.py test_files.py | Ned Batchelder | 2023-01-04 | 1 | -27/+29 |
| | |||||
* | refactor: removed mentions of Jython and IronPython | Ned Batchelder | 2022-12-30 | 1 | -4/+0 |
| | |||||
* | build: 3.11.0 and 3.12.0a1 are available | Ned Batchelder | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | refactor(test): use xfail for tests that fail on specific versions of Python | Ned Batchelder | 2022-01-19 | 1 | -4/+0 |
| | |||||
* | refactor: remove code that was only needed for Python 3.6 | Ned Batchelder | 2021-12-31 | 1 | -1/+0 |
| | |||||
* | docs: document the exceptions | Ned Batchelder | 2021-11-14 | 1 | -3/+3 |
| | | | | ... and make some of them private. | ||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | test(fix): isolate excepthook tests from each other | Ned Batchelder | 2021-11-02 | 1 | -0/+7 |
| | |||||
* | test: add more tests of run_python_file | Ned Batchelder | 2021-10-11 | 1 | -1/+86 |
| | | | | | | The tests in test_process run the exception handling in execfile.py, but only under coverage, so metacov can't see it. These smaller tests exercise the code without coverage on top. | ||||
* | test: add a test of hash-based pyc files | Ned Batchelder | 2021-10-11 | 1 | -2/+9 |
| | |||||
* | refactor: remove a Python 2 thing | Ned Batchelder | 2021-10-10 | 1 | -6/+1 |
| | |||||
* | test: a part-covered comprehension | Ned Batchelder | 2021-08-09 | 1 | -3/+1 |
| | | | | | The comprehension would only completely finish (->exit) if the assert was going to fail. So we expect it to not finish. | ||||
* | test: simplify pyc logic | Ned Batchelder | 2021-08-09 | 1 | -9/+2 |
| | | | | | | The old pycache_prefix logic was because we would run tests in Docker containers, and they went faster if we set PYTHONCACHEPREFIX. But we don't do that anymore, so we can use simpler code. | ||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -3/+3 |
| | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -2/+1 |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | ||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -1/+1 |
| | |||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -12/+18 |
| | | | | This is another step toward removing unittest.TestCase as a base class. | ||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -2/+1 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52 | ||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -40/+41 |
| | | | | One step of moving to pure pytest tests. | ||||
* | One more adjustment for Python 3.9a2 | Ned Batchelder | 2019-12-21 | 1 | -1/+1 |
| | |||||
* | Adapt to 3.9's way of reporting files using absolute paths. | Ned Batchelder | 2019-11-25 | 1 | -4/+10 |
| | |||||
* | Linux tests are runnable | Ned Batchelder | 2019-11-07 | 1 | -5/+15 |
| | | | | PYTHONPYCACHEPREFIX makes the tests 10% faster on 3.8 | ||||
* | Prefer assertRaisesRegex to assertRaises | Ned Batchelder | 2019-04-21 | 1 | -4/+4 |
| | |||||
* | PyRunner knows how to run Python files. | Ned Batchelder | 2018-11-25 | 1 | -22/+22 |
| | | | | Adjust sys.path to better emulate Python, but only if we should. | ||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Pylint 1.8.1, and fix its new warnings | Ned Batchelder | 2017-12-23 | 1 | -1/+1 |
| | |||||
* | Refactor common test infrastructure for fiddling sys.path and finding files | Ned Batchelder | 2017-05-04 | 1 | -9/+3 |
| | |||||
* | Oops, broke this other test using try_execfile.py | Ned Batchelder | 2017-01-19 | 1 | -1/+2 |
| | |||||
* | A cleaner way to exclude Jython concerns from meta-coverage. | Ned Batchelder | 2017-01-16 | 1 | -1/+1 |
| | |||||
* | Reporting doesn't work on Jython, so don't run reporting tests there. | Ned Batchelder | 2017-01-14 | 1 | -0/+4 |
| | | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f | ||||
* | Provide a more useful error message if failing to run a non-Python file. #514 | Ned Batchelder | 2016-12-17 | 1 | -0/+19 |
| | |||||
* | Another use of try_execfile.py to adjust | Ned Batchelder | 2016-06-12 | 1 | -4/+3 |
| | |||||
* | Fix explicit imports of __init__. #410 | Ned Batchelder | 2015-10-13 | 1 | -4/+9 |
| | |||||
* | Support directories on the 'coverage run' command line. #252 | Ned Batchelder | 2015-08-01 | 1 | -6/+9 |
| | |||||
* | Merged in traff/coverage.py (pull request #50) | Ned Batchelder | 2015-08-01 | 1 | -0/+9 |
|\ | | | | | | | Look for __main__ module if coverage is being run for directory #252 | ||||
| * | Look for __main__ module if coverage is being run for directory #252 | Dmitry Trofimov | 2015-04-14 | 1 | -0/+9 |
| | | |||||
* | | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -0/+3 |
|/ | |||||
* | Make some test setup more uniform | Ned Batchelder | 2015-01-18 | 1 | -3/+9 |
| | |||||
* | Don't fail because sys.path has duplicate entries. Fixes #337 | Ned Batchelder | 2014-11-14 | 1 | -3/+3 |
| | |||||
* | Use with-open everywhere | Ned Batchelder | 2014-10-26 | 1 | -5/+5 |
| | |||||
* | Pragmas for uncovered code | Ned Batchelder | 2014-09-28 | 1 | -2/+2 |
| | |||||
* | Pylint upgrade and cleanup. | Ned Batchelder | 2014-09-21 | 1 | -1/+1 |
| | |||||
* | Avoid a bunch of deprecated functions. | Ned Batchelder | 2014-05-17 | 1 | -2/+2 |
| | |||||
* | Refactor execfile to avoid imp to avoid deprecation warnings | Ned Batchelder | 2014-05-16 | 1 | -0/+5 |
| | |||||
* | Use assertRaises as a context manager now that we can. | Ned Batchelder | 2013-12-21 | 1 | -13/+14 |
| |