summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-10 14:18:46 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-10 14:53:17 +0000
commit2a7c40d07f4b0e0fd2a4bc942e74634c2df24dee (patch)
tree089884ab547cf7f595cfc166b7d1860094419509 /tests
parent7841d3d9b2db9ed686fec7e2222c720dfa32c1b4 (diff)
downloadsphinx-git-2a7c40d07f4b0e0fd2a4bc942e74634c2df24dee.tar.gz
Undo parallel image changes
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build_epub.py5
-rw-r--r--tests/test_build_html.py3
-rw-r--r--tests/test_build_latex.py7
-rw-r--r--tests/test_build_texinfo.py7
4 files changed, 3 insertions, 19 deletions
diff --git a/tests/test_build_epub.py b/tests/test_build_epub.py
index 86fdae0cd..e183c9c17 100644
--- a/tests/test_build_epub.py
+++ b/tests/test_build_epub.py
@@ -399,14 +399,11 @@ def test_copy_images(app, status, warning):
images_dir = Path(app.outdir) / '_images'
images = {image.name for image in images_dir.rglob('*')}
+ images.discard('python-logo.png')
assert images == {
- 'img.gif',
- 'img.pdf',
'img.png',
- 'python-logo.png',
'rimg.png',
'rimg1.png',
- 'svgimg.pdf',
'svgimg.svg',
'testimäge.png',
}
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 89350e82d..5a0ca59fe 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1780,12 +1780,9 @@ def test_copy_images(app, status, warning):
images_dir = Path(app.outdir) / '_images'
images = {image.name for image in images_dir.rglob('*')}
assert images == {
- 'img.gif',
- 'img.pdf',
'img.png',
'rimg.png',
'rimg1.png',
- 'svgimg.pdf',
'svgimg.svg',
'testimäge.png',
}
diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
index 3f1206ac8..99bf5acba 100644
--- a/tests/test_build_latex.py
+++ b/tests/test_build_latex.py
@@ -1682,14 +1682,9 @@ def test_copy_images(app, status, warning):
image.name for image in test_dir.rglob('*')
if image.suffix in {'.gif', '.pdf', '.png', '.svg'}
}
+ images.discard('python-logo.png')
assert images == {
- 'img.gif',
'img.pdf',
- 'img.png',
- 'python-logo.png',
'rimg.png',
- 'rimg1.png',
- 'svgimg.pdf',
- 'svgimg.svg',
'testimäge.png',
}
diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py
index aae5689b7..fa23fdb59 100644
--- a/tests/test_build_texinfo.py
+++ b/tests/test_build_texinfo.py
@@ -146,14 +146,9 @@ def test_copy_images(app, status, warning):
images_dir = Path(app.outdir) / 'python-figures'
images = {image.name for image in images_dir.rglob('*')}
+ images.discard('python-logo.png')
assert images == {
- 'img.gif',
- 'img.pdf',
'img.png',
- 'python-logo.png',
'rimg.png',
- 'rimg1.png',
- 'svgimg.pdf',
- 'svgimg.svg',
'testimäge.png',
}