Skip to content

Commit 8ce71e4

Browse files
committed
Add more test
1 parent ba924ab commit 8ce71e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sage/rings/laurent_series_ring_element.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,8 @@ cdef class LaurentSeries(AlgebraElement):
10891089
sage: S.<t> = LaurentSeriesRing(QQ)
10901090
sage: (t+t^2).truncate_neg(-1)
10911091
t + t^2
1092+
sage: (t+t^2).truncate_neg(-2)
1093+
t + t^2
10921094
"""
10931095
return type(self)(self._parent, self.__u >> (n - self.__n), n)
10941096

0 commit comments

Comments
 (0)