Skip to content

Commit 07526df

Browse files
committed
Updates from PR comments.
1 parent 82d4f93 commit 07526df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Microsoft.ML.Tests/ImagesTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ namespace Microsoft.ML.Tests
2020
{
2121
public class ImageTests : TestDataPipeBase
2222
{
23-
private static readonly Lazy<bool> _isNotArm = new(() => RuntimeInformation.ProcessArchitecture != Architecture.Arm && RuntimeInformation.ProcessArchitecture != Architecture.Arm64);
24-
protected static bool IsNotArm => _isNotArm.Value;
25-
23+
private static bool IsNotArm => RuntimeInformation.ProcessArchitecture != Architecture.Arm && RuntimeInformation.ProcessArchitecture != Architecture.Arm64;
2624
public ImageTests(ITestOutputHelper output) : base(output)
2725
{
2826
}

0 commit comments

Comments
 (0)