Commit 314fbaad authored by payno's avatar payno
Browse files

remove some warnings (use collections.abc.Hashable instead of collections.Hashable)

parent bf2c3650
...@@ -58,9 +58,9 @@ class TestTomoBaseHashable(unittest.TestCase): ...@@ -58,9 +58,9 @@ class TestTomoBaseHashable(unittest.TestCase):
def test_is_hashable(self): def test_is_hashable(self):
tomo_base = TomoScanBase(scan=self._folder, type_='toto') tomo_base = TomoScanBase(scan=self._folder, type_='toto')
self.assertTrue(isinstance(tomo_base, collections.Hashable)) self.assertTrue(isinstance(tomo_base, collections.abc.Hashable))
tomo_scan = EDFTomoScan(self._folder) tomo_scan = EDFTomoScan(self._folder)
self.assertTrue(isinstance(tomo_scan, collections.Hashable)) self.assertTrue(isinstance(tomo_scan, collections.abc.Hashable))
class TestScanFactory(unittest.TestCase): class TestScanFactory(unittest.TestCase):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment