summaryrefslogtreecommitdiff
path: root/silx/io/test/test_spectoh5.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/io/test/test_spectoh5.py')
-rw-r--r--silx/io/test/test_spectoh5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/io/test/test_spectoh5.py b/silx/io/test/test_spectoh5.py
index 2b79704..44b59e0 100644
--- a/silx/io/test/test_spectoh5.py
+++ b/silx/io/test/test_spectoh5.py
@@ -1,6 +1,6 @@
# coding: utf-8
# /*##########################################################################
-# Copyright (C) 2016-2018 European Synchrotron Radiation Facility
+# Copyright (C) 2016-2019 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -132,7 +132,7 @@ class TestConvertSpecHDF5(unittest.TestCase):
def testTitle(self):
"""Test the value of a dataset"""
- title12 = self.h5f["/1.2/title"].value
+ title12 = self.h5f["/1.2/title"][()]
self.assertEqual(title12,
u"aaaaaa")