Skip to content

Commit 16e1d9b

Browse files
authored
Disable a couple of pen tests on Windows (dotnet#60746)
1 parent cc3de40 commit 16e1d9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libraries/System.Drawing.Common/tests/PenTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public static IEnumerable<object[]> Ctor_Brush_Width_TestData()
5252
yield return new object[] { new SolidBrush(Color.Red), float.MaxValue, PenType.SolidColor };
5353
}
5454

55+
[ActiveIssue("https://github.com/dotnet/runtime/issues/60731", TestPlatforms.Windows)]
5556
[ConditionalTheory(Helpers.IsDrawingSupported)]
5657
[MemberData(nameof(Ctor_Brush_Width_TestData))]
5758
public void Ctor_Brush_Width<T>(T brush, float width, PenType expectedPenType) where T : Brush
@@ -102,6 +103,7 @@ public void Ctor_Color()
102103
}
103104
}
104105

106+
[ActiveIssue("https://github.com/dotnet/runtime/issues/60731", TestPlatforms.Windows)]
105107
[ConditionalTheory(Helpers.IsDrawingSupported)]
106108
[InlineData(-1)]
107109
[InlineData(0)]

0 commit comments

Comments
 (0)