monai-weekly 1.5.dev2514__py3-none-any.whl → 1.5.dev2515__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,13 +45,13 @@ class TestTraceable(unittest.TestCase):
45
45
  self.assertEqual(len(data[expected_key]), 2)
46
46
  self.assertEqual(data[expected_key][-1]["class"], "_TraceTest")
47
47
 
48
- with self.assertRaises(IndexError):
48
+ with self.assertRaises(ValueError):
49
49
  a.pop({"test": "test"}) # no stack in the data
50
50
  data = a.pop(data)
51
51
  data = a.pop(data)
52
52
  self.assertEqual(data[expected_key], [])
53
53
 
54
- with self.assertRaises(IndexError): # no more items
54
+ with self.assertRaises(ValueError): # no more items
55
55
  a.pop(data)
56
56
 
57
57