Skip to content

Commit d4e6589

Browse files
committed
fixup! fixup! Remove unused imports, use lower case to start exception message
1 parent c0c0517 commit d4e6589

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flint/test/test_all.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ def quick_poly():
27952795
assert p.coeffs() == [4, 3, 2, 1]
27962796
assert list(p.terms()) == list(zip([(2, 2), (1, 0), (0, 1), (0, 0)], [4, 3, 2, 1]))
27972797

2798-
assert p.subs({"x1": S(0), "x0": S(0)}) == ctx.from_dict({(0, 0): 1})
2798+
assert p.subs({"x1": S(0), 0: S(0)}) == ctx.from_dict({(0, 0): 1})
27992799
assert p.compose(p.subs({"x1": 0}), ctx.from_dict({(0, 1): 1})) == mpoly({
28002800
(2, 2): 36,
28012801
(1, 2): 24,
@@ -2858,7 +2858,6 @@ def quick_poly():
28582858
p -= T(1)
28592859
q = quick_poly()
28602860
assert q.isub(T(1)) is None
2861-
breakpoint()
28622861
assert quick_poly() - T(1) == p == q == mpoly({(0, 1): 2, (1, 0): 3, (2, 2): 4})
28632862
assert T(1) - quick_poly() == mpoly({(0, 1): -2, (1, 0): -3, (2, 2): -4})
28642863

0 commit comments

Comments
 (0)