Skip to content

Commit 7c0589f

Browse files
imports
1 parent a5a4685 commit 7c0589f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit_tests/test_images.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
import numpy as np
44
from pynwb import TimeSeries
55
from pynwb.image import GrayscaleImage, IndexSeries
6+
from packaging.version import Version
67

78
from nwbinspector import InspectorMessage, Importance
89
from nwbinspector.checks.images import (
910
check_order_of_images_unique,
1011
check_order_of_images_len,
1112
check_index_series_points_to_image,
1213
)
14+
from nwbinspector.utils import get_package_version
1315

1416
HAVE_IMAGES = get_package_version(name="pynwb") >= Version("2.1.0")
1517
skip_reason = "You must have PyNWB>=v2.1.0 to run these tests!"

0 commit comments

Comments
 (0)