Skip to content

Commit

Permalink
chore: Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaokang2022 committed Dec 31, 2024
1 parent 6eb324f commit 0fb02a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ opt = [
"darkdetect==0.8.0; platform_system != 'Darwin'",
"darkdetect[macos-listener]==0.8.0; platform_system == 'Darwin'",
"pywinstyles==1.8; platform_system == 'Windows'",
"hPyT==1.3.6; platform_system == 'Windows'",
"hPyT==1.3.7; platform_system == 'Windows'",
"win32material==1.0.6; platform_system == 'Windows'",
"pillow>=10.0.0",
]
Expand All @@ -37,7 +37,7 @@ all = [
"darkdetect==0.8.0; platform_system != 'Darwin'",
"darkdetect[macos-listener]==0.8.0; platform_system == 'Darwin'",
"pywinstyles==1.8; platform_system == 'Windows'",
"hPyT==1.3.6; platform_system == 'Windows'",
"hPyT==1.3.7; platform_system == 'Windows'",
"win32material==1.0.6; platform_system == 'Windows'",
"pillow>=10.0.0",
"tkintertools-mpl",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_toolbox/test_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def test_fix_cursor(self) -> None:
case _: self.assertEqual(disabled, "arrow")

def test_create_smoke(self) -> None:
if globals().get("Image") is None:
raise unittest.SkipTest("PIL not available.")
size = 100, 100
smoke = utility.create_smoke(size)
self.assertEqual((smoke.width(), smoke.height()), size)
Expand Down

0 comments on commit 0fb02a2

Please sign in to comment.