From 39640ab6dc8278a5f6c4fdac917dd3fa8554e7b8 Mon Sep 17 00:00:00 2001 From: Vova Ivanov Date: Tue, 23 Nov 2021 16:11:27 -0800 Subject: [PATCH] Removed check for dotnet --- sdk/python/lib/test/automation/test_errors.py | 2 -- 1 file changed, 2 deletions(-) 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: