def test_Errors(self): with self.assertRaises(Tf.CppException): Usd._UnsafeGetStageForTesting(Usd.Prim())