Blob Blame History Raw
Only in hdmf-3.1.1/: .mypy_cache
diff -ur hdmf-3.1.1.orig/tests/unit/utils_test/test_labelleddict.py hdmf-3.1.1/tests/unit/utils_test/test_labelleddict.py
--- hdmf-3.1.1.orig/tests/unit/utils_test/test_labelleddict.py	2021-08-16 19:08:03.569499506 +0100
+++ hdmf-3.1.1/tests/unit/utils_test/test_labelleddict.py	2021-08-16 19:08:21.805187946 +0100
@@ -33,7 +33,7 @@
     def test_set_key_attr(self):
         """Test that the key attribute cannot be set after initialization."""
         ld = LabelledDict(label='all_objects')
-        with self.assertRaisesWith(AttributeError, "can't set attribute"):
+        with self.assertRaisesRegex(AttributeError, "can't set attribute"):
             ld.key_attr = 'another_name'
 
     def test_getitem_unknown_val(self):