X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_component_class.py;h=bbd9774ad99397fcf3561733ea8c6a98cd79781d;hb=3b2be7085899350a58fe836dc5e1a9650ce369b2;hp=857d15270dd3312dc5ee56960daa75d31499a57c;hpb=d09c69f7ecf93e6d9d064a0453cf971ee3ff7778;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_component_class.py b/tests/bindings/python/bt2/test_component_class.py index 857d1527..bbd9774a 100644 --- a/tests/bindings/python/bt2/test_component_class.py +++ b/tests/bindings/python/bt2/test_component_class.py @@ -23,7 +23,7 @@ import bt2 class UserComponentClassTestCase(unittest.TestCase): def _test_no_init(self, cls): - with self.assertRaises(bt2.Error): + with self.assertRaises(RuntimeError): cls() def test_no_init_source(self):