Skip to content

Commit ca1d26a

Browse files
committed
Remove problematic tests
1 parent 3059df5 commit ca1d26a

15 files changed

+1
-106
lines changed

test/generic/AbsSeries-test.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ end
9090

9191
@test isa(l, Generic.AbsSeries)
9292

93-
@test x in [x, y]
94-
@test x in [y, x]
95-
@test !(x in [y])
96-
97-
@test x in keys(Dict(x => 1))
98-
@test !(y in keys(Dict(x => 1)))
99-
10093
R, x = power_series_ring(ZZ, 30, "x", model=:capped_absolute)
10194
S, x = power_series_ring(ZZ, 30, "x", model=:capped_absolute)
10295
@test R === S

test/generic/FactoredFraction-test.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,6 @@ end
218218
TT = factored_fraction_field(polynomial_ring(QQ, "x")[1])
219219
a = TT(1)
220220
b = T(2)
221-
222-
@test a in [a, b]
223-
@test a in [b, a]
224-
@test !(a in [b])
225-
@test a in keys(Dict(a => 1))
226-
@test !(b in keys(Dict(a => 1)))
227221
end
228222

229223
@testset "Generic.FactoredFracFieldElem.printing" begin

test/generic/Fraction-test.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@
4646
b = T(2)
4747
@test is_perfect(TT)
4848

49-
@test a in [a, b]
50-
@test a in [b, a]
51-
@test !(a in [b])
52-
@test a in keys(Dict(a => 1))
53-
@test !(b in keys(Dict(a => 1)))
54-
5549
# trivial rings can not be fields
5650
R = residue_ring(ZZ, 1)[1]
5751
@test is_trivial(R)

test/generic/FreeAssociativeAlgebra-test.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@
125125

126126
@test collect(exponent_words(varlist[1] + 1)) == [Int[1], Int[]]
127127
@test isone(varlist[1]^0)
128-
129-
_, varlist = polynomial_ring(QQ, var_names)
130-
y = varlist[1]
131-
@test x in [x, y]
132-
@test x in [y, x]
133-
@test !(x in [y])
134-
@test x in keys(Dict(x => 1))
135-
@test !(y in keys(Dict(x => 1)))
136128
end
137129
end
138130

test/generic/FunctionField-test.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ P2 = [(x2 + 1)*z2 + (x2 + 2), z2 + (x2 + 1)//(x2 + 2), z2^2 + 3z2 + 1,
7474
@test !is_perfect(S2)
7575

7676
@test var(S1) == :y1
77-
78-
@test y1 in [y1, y2]
79-
@test y1 in [y2, y1]
80-
@test !(y1 in [y2])
81-
82-
@test y1 in keys(Dict(y1 => 1))
83-
@test !(y2 in keys(Dict(y1 => 1)))
8477
end
8578

8679
@testset "Generic.FunctionField.printing" begin

test/generic/LaurentSeries-test.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ end
104104
l = T(t)
105105

106106
@test isa(l, Generic.LaurentSeriesElem)
107-
108-
@test x in [x, y]
109-
@test x in [y, x]
110-
@test !(x in [y])
111-
112-
@test x in keys(Dict(x => 1))
113-
@test !(y in keys(Dict(x => 1)))
114107

115108
R, x = laurent_series_ring(ZZ, 30, "x")
116109
RR, x = laurent_series_ring(ZZ, 30, "x")

test/generic/MPoly-test.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@
8383
f3 = finish(C)
8484

8585
@test f1 == f3
86-
87-
_, varlist = polynomial_ring(QQ, var_names)
88-
y = varlist[1]
89-
@test x in [x, y]
90-
@test x in [y, x]
91-
@test !(x in [y])
92-
@test x in keys(Dict(x => 1))
93-
@test !(y in keys(Dict(x => 1)))
9486
end
9587

9688
R1, (x, y) = polynomial_ring(QQ, ["x", "y"])

test/generic/Matrix-test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ end
314314
@test x in [x, y]
315315
@test x in [y, x]
316316
@test !(x in [y])
317-
317+
318318
@test x in keys(Dict(x => 1))
319319
@test !(y in keys(Dict(x => 1)))
320320

test/generic/Poly-test.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,6 @@ end
9595
n = S([ZZ(1), ZZ(2), ZZ(3)])
9696

9797
@test isa(n, PolyRingElem)
98-
99-
@test x in [x, y]
100-
@test x in [y, x]
101-
@test !(x in [y])
102-
103-
@test x in keys(Dict(x => 1))
104-
@test !(y in keys(Dict(x => 1)))
10598
end
10699

107100
@testset "Generic.Poly.constructors.varname" begin

test/generic/PuiseuxSeries-test.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,6 @@ end
9898
l = T(t)
9999

100100
@test isa(l, Generic.PuiseuxSeriesElem)
101-
102-
@test x in [x, y]
103-
@test x in [y, x]
104-
@test !(x in [y])
105-
106-
@test x in keys(Dict(x => 1))
107-
@test !(y in keys(Dict(x => 1)))
108101
end
109102

110103
@testset "Generic.PuiseuxSeries.printing" begin

0 commit comments

Comments
 (0)