From 3cf8daa1f68407f45c2f74f84421284ca817e886 Mon Sep 17 00:00:00 2001 From: Matthias Zach Date: Fri, 27 Feb 2026 09:59:57 +0100 Subject: [PATCH] Remove is_unit calls from tests. --- ext/TestExt/Rings-conformance-tests.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/TestExt/Rings-conformance-tests.jl b/ext/TestExt/Rings-conformance-tests.jl index ae88b44ade..5e6fb017e4 100644 --- a/ext/TestExt/Rings-conformance-tests.jl +++ b/ext/TestExt/Rings-conformance-tests.jl @@ -74,8 +74,6 @@ function test_NCRing_interface(R::AbstractAlgebra.NCRing; reps = 15) @test isone(one(R)) @test iszero(R(0)) @test isone(R(1)) - @test isone(R(0)) || !is_unit(R(0)) - @test is_unit(R(1)) for i in 1:reps a = generate_element(R)::T @test hash(a) isa UInt