Skip to content

Commit

Permalink
Use newlines like test_features.py
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 30, 2024
1 parent 6f0e666 commit 5db47c2
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Tests/test_main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import os
import subprocess
import sys

Expand Down Expand Up @@ -32,16 +31,13 @@ def test_main(args, report) -> None:
assert lines[3].startswith("Binary Pillow modules loaded from ")
assert lines[4] == "-" * 68
jpeg = (
os.linesep
"\n"
+ "-" * 68
+ os.linesep
+ "JPEG image/jpeg"
+ os.linesep
+ "Extensions: .jfif, .jpe, .jpeg, .jpg"
+ os.linesep
+ "Features: open, save"
+ os.linesep
+ "\n"
+ "JPEG image/jpeg\n"
+ "Extensions: .jfif, .jpe, .jpeg, .jpg\n"
+ "Features: open, save\n"
+ "-" * 68
+ os.linesep
+ "\n"
)
assert report == (jpeg not in out)

0 comments on commit 5db47c2

Please sign in to comment.