Skip to content

Commit 8a243b8

Browse files
committed
Fixing test and linting
1 parent 8724972 commit 8a243b8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/source/release-notes.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Versions >= 0.2
5454
====================
5555

5656
Released: 2025-02-23
57-
5857

5958
**💪🏼 Improvements**
6059

@@ -66,12 +65,10 @@ Released: 2025-02-23
6665
* fix reDOS CVE in getColor function
6766
* Keep GitHub Actions up to date with GitHub's Dependabot
6867

69-
7068
**📘 Documentation**
7169

7270
* Improve documentation and fixed a lot of typos
7371

74-
7572
| Thanks to the following people on GitHub for contributing to this release:
7673
| *Trupal00p*, *cclauss* and *kytta-532-better-docs*
7774

tests/test_document.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def test_document_background_image_not_on_all_pages(self) -> None:
154154

155155
self.assertEqual(len(pdf_reader.pages), 2)
156156

157-
@skipIf(os.environ.get('http_proxy'))
157+
@skipIf(os.environ.get('http_proxy'), reason='runing on proxy')
158158
def test_document_with_broken_image(self) -> None:
159159
"""Test that broken images don't cause unhandled exception"""
160160
# Although this is just html, it will be recognized as svg
@@ -176,7 +176,7 @@ def test_document_with_broken_image(self) -> None:
176176
],
177177
)
178178

179-
@skipIf(os.environ.get('http_proxy'))
179+
@skipIf(os.environ.get('http_proxy'), reason='runing on proxy')
180180
def test_document_cannot_identify_image(self) -> None:
181181
"""Test that images which cannot be identified don't cause stack trace to be printed"""
182182
image_path = "https://raw.githubusercontent.com/python-pillow/Pillow/7921da54a73dd4a30c23957369b79cda176005c6/Tests/images/zero_width.gif"

0 commit comments

Comments
 (0)