From e05abcc5a8b05e7a828ad9d5646343e040b32cf1 Mon Sep 17 00:00:00 2001 From: Steve Molloy Date: Thu, 5 Aug 2021 04:27:14 -0700 Subject: [PATCH] Disable formatter test on Mono: COM support is disabled on Mono runtime. (#56806) This particular test is using a COM object, but COM support is disabled on Mono runtime. --- .../tests/FormatterServicesTests.Windows.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.Windows.cs b/src/libraries/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.Windows.cs index a64cab793e98dc..e8004dc7d6ed4e 100644 --- a/src/libraries/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.Windows.cs +++ b/src/libraries/System.Runtime.Serialization.Formatters/tests/FormatterServicesTests.Windows.cs @@ -11,7 +11,7 @@ namespace System.Runtime.Serialization.Formatters.Tests public partial class FormatterServicesTests { [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/39704", TestRuntimes.Mono)] + [SkipOnMono("COM support is disabled on Mono runtime. Refer to issue #39704.")] public void GetUninitializedObject_COMObject_ThrowsNotSupportedException() { Type comObjectType = typeof(COMObject);