Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentetsu committed Nov 7, 2024
1 parent 59ed829 commit 8316dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_numpy(self) -> None:
def test_file(self) -> None:
"""Test client creation from a JSON file."""
try:
c = SharedMemory(name="test8", path="tests/test.json", size=1024, client=True, silent=True)
c = SharedMemory(name="test8", path="tests/test.json", client=True, silent=True)
res1 = type(c.getValue()) is dict
res2 = not (False in (c.getValue()["test2"][1] == np.zeros((4, 4, 2), dtype=np.uint8)))
c.close()
Expand Down

0 comments on commit 8316dd4

Please sign in to comment.