def test_setup(self): if self.abstract: with self.assertRaises(NotImplementedError): Resource()
def test_setup(self): with pytest.raises(NotImplementedError): Resource()