diff options
| author | Martin Liška <mliska@suse.cz> | 2023-04-21 03:44:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-21 02:44:11 +0100 |
| commit | 186d596f3323f3141c34618e2e788e5cdff8fec3 (patch) | |
| tree | b12ee0b3088f4884dcbd693c204fbab77d163a4c /sphinx/transforms | |
| parent | 77483f28244dac1e7459d09397180812cfb36946 (diff) | |
| download | sphinx-git-186d596f3323f3141c34618e2e788e5cdff8fec3.tar.gz | |
Use ``overwrite_file`` context manager in ``test_ext_autodoc_configs`` (#11320)
The tests modify source files (e.g. index.rst) that are not restored
and thus another test could read an altered source file, it leading
to unexpected test results.
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Diffstat (limited to 'sphinx/transforms')
0 files changed, 0 insertions, 0 deletions
