From 7c24bb0756fd39fbf09b8777f25c15d21d78eb46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 21 Aug 2020 17:12:36 +0200 Subject: [PATCH] Disable failing DateTime tests See https://github.com/mono/mono/issues/16623#issuecomment-678248447 --- src/System.Runtime/tests/System/DateTimeTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/System.Runtime/tests/System/DateTimeTests.cs b/src/System.Runtime/tests/System/DateTimeTests.cs index c88d92721892..65d1412ae2fa 100644 --- a/src/System.Runtime/tests/System/DateTimeTests.cs +++ b/src/System.Runtime/tests/System/DateTimeTests.cs @@ -1109,6 +1109,7 @@ public static IEnumerable ParseExact_ValidInput_Succeeds_MemberData() } +#if !MONO // currently fails, see https://github.com/mono/mono/issues/16623#issuecomment-678248447 var hebrewCulture = new CultureInfo("he-IL"); hebrewCulture.DateTimeFormat.Calendar = new HebrewCalendar(); DateTime today = DateTime.Today; @@ -1116,6 +1117,7 @@ public static IEnumerable ParseExact_ValidInput_Succeeds_MemberData() { yield return new object[] { today.ToString(pattern, hebrewCulture), pattern, hebrewCulture, DateTimeStyles.None, null }; } +#endif } [Theory]