@@ -171,7 +171,7 @@ cdef class _Timestamp(ABCTimestamp):
171171 @property
172172 def freq (self ):
173173 warnings.warn(
174- " Timestamp.freq is deprecated and will be removed in a future version" ,
174+ " Timestamp.freq is deprecated and will be removed in a future version. " ,
175175 FutureWarning ,
176176 stacklevel = 1 ,
177177 )
@@ -235,8 +235,8 @@ cdef class _Timestamp(ABCTimestamp):
235235 # We follow the stdlib datetime behavior of never being equal
236236 warnings.warn(
237237 " Comparison of Timestamp with datetime.date is deprecated in "
238- " order to match the standard library behavior. "
239- " In a future version these will be considered non-comparable."
238+ " order to match the standard library behavior. "
239+ " In a future version these will be considered non-comparable. "
240240 " Use 'ts == pd.Timestamp(date)' or 'ts.date() == date' instead." ,
241241 FutureWarning ,
242242 stacklevel = 1 ,
@@ -425,7 +425,7 @@ cdef class _Timestamp(ABCTimestamp):
425425 warnings.warn(
426426 " Timestamp.freq is deprecated and will be removed in a future "
427427 " version. When you have a freq, use "
428- f" freq.{field}(timestamp) instead" ,
428+ f" freq.{field}(timestamp) instead. " ,
429429 FutureWarning ,
430430 stacklevel = 1 ,
431431 )
@@ -858,7 +858,7 @@ cdef class _Timestamp(ABCTimestamp):
858858 NaT
859859 """
860860 if self .nanosecond != 0 and warn:
861- warnings.warn(" Discarding nonzero nanoseconds in conversion" ,
861+ warnings.warn(" Discarding nonzero nanoseconds in conversion. " ,
862862 UserWarning , stacklevel = 2 )
863863
864864 return datetime(self .year, self .month, self .day,
0 commit comments