diff --git a/sdk/python/lib/test/automation/test_errors.py b/sdk/python/lib/test/automation/test_errors.py index 25c22e534..bbf5dc722 100644 --- a/sdk/python/lib/test/automation/test_errors.py +++ b/sdk/python/lib/test/automation/test_errors.py @@ -65,8 +65,6 @@ class TestErrors(unittest.TestCase): self.assertRaises(RuntimeError, stack.up) if lang == "go": self.assertRaisesRegex(RuntimeError, "panic: runtime error", stack.up) - elif lang == "dotnet": - self.assertRaisesRegex(RuntimeError, "an unhandled error occurred", stack.up) else: self.assertRaisesRegex(RuntimeError, "failed with an unhandled exception", stack.up) finally: