Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Disable failing DateTime tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Aug 21, 2020
1 parent b9e6608 commit 7c24bb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/System.Runtime/tests/System/DateTimeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,13 +1109,15 @@ public static IEnumerable<object[]> 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;
foreach (string pattern in hebrewCulture.DateTimeFormat.GetAllDateTimePatterns())
{
yield return new object[] { today.ToString(pattern, hebrewCulture), pattern, hebrewCulture, DateTimeStyles.None, null };
}
#endif
}

[Theory]
Expand Down

0 comments on commit 7c24bb0

Please sign in to comment.