diff --git a/rsciio/tests/test_hamamatsu.py b/rsciio/tests/test_hamamatsu.py index 666b88697..22a31a2d1 100644 --- a/rsciio/tests/test_hamamatsu.py +++ b/rsciio/tests/test_hamamatsu.py @@ -287,7 +287,13 @@ def test_metadata(self): assert metadata.General.title == metadata.General.original_filename[:-4] assert metadata.Signal.quantity == "Intensity (Counts)" - assert metadata.Signal.signal_type == "" + try: + import lumispy + + signal_type = "Luminescence" + except ImportError: + signal_type = "" + assert metadata.Signal.signal_type == signal_type assert isinstance(detector.binning, tuple) assert len(detector.binning) == 2