We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf09e8e + aef3aa2 commit d008d12Copy full SHA for d008d12
Tests/test_file_container.py
@@ -4,8 +4,6 @@
4
5
from PIL import ContainerIO, Image
6
7
-from .helper import hopper
8
-
9
TEST_FILE = "Tests/images/dummy.container"
10
11
@@ -15,15 +13,15 @@ def test_sanity() -> None:
15
13
16
14
17
def test_isatty() -> None:
18
- with hopper() as im:
19
- container = ContainerIO.ContainerIO(im, 0, 0)
+ with open(TEST_FILE, "rb") as fh:
+ container = ContainerIO.ContainerIO(fh, 0, 0)
20
21
assert container.isatty() is False
22
23
24
def test_seekable() -> None:
25
26
27
28
assert container.seekable() is True
29
0 commit comments