diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/TabPageTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/TabPageTests.cs index 0977c168d27..246f7226d52 100644 --- a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/TabPageTests.cs +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/TabPageTests.cs @@ -539,7 +539,6 @@ public static void TabPage_BackColor_GetVisualStyles_ReturnsExpected(bool useVis { Task.Run(() => { - try { Application.EnableVisualStyles();