Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test(refactor): simplify the logic of writing subcover.pth | Ned Batchelder | 2021-11-21 | 1 | -4/+2 |
| | |||||
* | test(fix): remove the subcover.pth file when the main session ends | Ned Batchelder | 2021-11-21 | 1 | -16/+20 |
| | | | | | Leaving the pth file meant that the next igor run would start coverage, which meant igor couldn't delete the C extension file on Windows. | ||||
* | test(refactor): use pathlib for the pth files | Ned Batchelder | 2021-11-21 | 1 | -11/+9 |
| | |||||
* | test(fix): never delete the pth file | Ned Batchelder | 2021-11-21 | 1 | -4/+6 |
| | |||||
* | fix(test): make .pth files once per session | Ned Batchelder | 2021-11-21 | 1 | -2/+49 |
| | | | | | | | | | | | The old way, we made and deleted .pth file around each test. This caused problems because pth files are written to a common location shared by all test workers, so tests would fail because pth files were being deleted as other workers were trying to use them. Now we make the pth file once per session. There's still a chance that a worker will be using a pth file just as another worker is ending and removing it. | ||||
* | test: properly reset a few globals between every test | Ned Batchelder | 2021-11-17 | 1 | -0/+17 |
| | |||||
* | docs: document the exceptions | Ned Batchelder | 2021-11-14 | 1 | -4/+4 |
| | | | | ... and make some of them private. | ||||
* | test: force VirtualenvTest onto one worker to save time | Ned Batchelder | 2021-11-02 | 1 | -7/+50 |
| | | | | | | | | | | | VirtualenvTest is slow because it has a session-scoped fixture that takes 10s to run. If all of those tests go to the same worker, we can reuse that fixture. If they go to different workers, we have to spend that time more than once. This is a hack which seems to work, but no guarantees into the future. Also, I don't know why the VirtualenvTests aren't run first on their worker. Time saved: about 10%, from ~50s to ~45s. | ||||
* | debug: code we can enable to see where tests are running and in what order | Ned Batchelder | 2021-10-30 | 1 | -1/+9 |
| | |||||
* | test: we really don't want to hear about imp being deprecated | Ned Batchelder | 2021-10-12 | 1 | -0/+5 |
| | |||||
* | test: this xdist defensiveness now seems unneeded | Ned Batchelder | 2021-10-08 | 1 | -26/+0 |
| | |||||
* | build: update pylint and remove some unneeded warning suppression | Ned Batchelder | 2021-07-18 | 1 | -15/+0 |
| | |||||
* | test: better checking for CoverageWarnings | Ned Batchelder | 2021-05-31 | 1 | -1/+1 |
| | | | | | On Python 3.10, we were getting other warnings mixed into the warnings the tests were looking for. This change lets us only look at the CoverageWarnings. | ||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | build: suppress new 3.10 warnings | Ned Batchelder | 2021-04-14 | 1 | -0/+11 |
| | |||||
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 1 | -0/+9 |
| | | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way. | ||||
* | test: metacov is always xdist | Ned Batchelder | 2021-02-07 | 1 | -1/+1 |
| | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -0/+1 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | test: configure pytest assertion rewriting in coveragetest.py | Ned Batchelder | 2021-01-31 | 1 | -0/+4 |
| | |||||
* | Use the modern way to load modules by file name. | Ned Batchelder | 2021-01-10 | 1 | -4/+15 |
| | | | | | | | Python 3.10 finally got super-noisy about load_module, which has been deprecated since 3.4! https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module | ||||
* | Adjust other env.PYPY tests to the latest way | Ned Batchelder | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 1 | -1/+0 |
| | |||||
* | Silence a DeprecationWarning | Ned Batchelder | 2019-05-09 | 1 | -0/+5 |
| | | | | | | "DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec()" This started appearing with Python 3.8a4. | ||||
* | Move set_env.py to github.com/nedbat/odds | Ned Batchelder | 2019-04-07 | 1 | -0/+3 |
| | |||||
* | Suppress another warning | Ned Batchelder | 2018-12-23 | 1 | -0/+1 |
| | |||||
* | Control the sys.path that tests see | Ned Batchelder | 2018-11-25 | 1 | -0/+35 |
| | |||||
* | Check for import order | Ned Batchelder | 2018-09-13 | 1 | -1/+2 |
| | |||||
* | Quiet a pylint warning | Ned Batchelder | 2018-06-30 | 1 | -0/+2 |
| | |||||
* | ResourceWarning isn't in py2? | Ned Batchelder | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | Suppress needless warnings during tests | Ned Batchelder | 2018-06-29 | 1 | -0/+14 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Enable DeprecationWarnings during tests | Ned Batchelder | 2017-10-12 | 1 | -0/+18 |