From 2e4b68027aa93a6ffcb8c167e26c305a2a80ea36 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Thu, 9 Nov 2023 13:03:58 -0600 Subject: [PATCH] fix --- tests/test_io.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_io.py b/tests/test_io.py index 1e622f5e..534c09c6 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -1,6 +1,5 @@ from __future__ import annotations -import random from pathlib import Path import awkward as ak @@ -163,10 +162,10 @@ def f(a, b): dak.from_map(f, [1, 2], [3, 4, 5]) with pytest.raises(ValueError, match="must be `callable`"): - dak.from_map(5, [1], [2]) # type: ignore + dak.from_map(5, [1], [2]) with pytest.raises(ValueError, match="must be Iterable"): - dak.from_map(f, 1, [1, 2]) # type: ignore + dak.from_map(f, 1, [1, 2]) with pytest.raises(ValueError, match="non-zero length"): dak.from_map(f, [], [], [])