Show More
@@ -22,6 +22,34 b' Python 3.8.' | |||
|
22 | 22 | :ghpull:`11720` |
|
23 | 23 | - Unicode names for the completion are loaded lazily on first use which |
|
24 | 24 | should decrease startup time. :ghpull:`11693` |
|
25 | - Autoreload now fix the types of reloaded objects; this for example allow | |
|
26 | pickling of reloaded objects. :ghpull:`11644` | |
|
27 | ||
|
28 | ||
|
29 | Prepare migration to pytest (instead of nose) for testing | |
|
30 | --------------------------------------------------------- | |
|
31 | ||
|
32 | Most of the work between 7.5 and 7.6 was to prepare the migration from our | |
|
33 | testing framework to pytest. Most of the test suite should now work by simply | |
|
34 | issuing ``pytest`` from the root of the repository. | |
|
35 | ||
|
36 | The migration to pytest is just at its beginning. Many of our test still rely | |
|
37 | on IPython-specific plugins for nose using pytest (doctest using IPython syntax | |
|
38 | is one example of this where test appear as "passing", while no code has been | |
|
39 | ran). Many test also need to be updated like ``yield-test`` to be properly | |
|
40 | parametrized tests. | |
|
41 | ||
|
42 | Migration to pytest allowed me to discover a number of issues in our test | |
|
43 | suite; which was hiding a number of subtle issues – or not actually running | |
|
44 | some of the tests in our test suite – I have thus corrected many of those; like | |
|
45 | improperly closed resources; or used of deprecated features. I also made use of | |
|
46 | the ``pytest --durations=...`` to find some of our slowest test and speed them | |
|
47 | up (our test suite can now be up to 10% faster). Pytest as also a variety of | |
|
48 | plugins and flags which will make the code quality of IPython and the testing | |
|
49 | experience better. | |
|
50 | ||
|
51 | Misc | |
|
52 | ---- | |
|
25 | 53 | |
|
26 | 54 | Special Thanks to Gabriel (@gpotter2 on GitHub), who among other took care many |
|
27 | 55 | of the remaining task for 7.4 and 7.5, like updating the website. |
General Comments 0
You need to be logged in to leave comments.
Login now