Skip to content

Commit de10e5f

Browse files
committed
added doctest: +SKIP to examples
1 parent 45b7d43 commit de10e5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_libs/tslibs/nattype.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ class NaTType(_NaT):
12831283
12841284
If you want a specific timezone, in this case 'Brazil/East':
12851285
1286-
>>> pd.Timestamp.now('Brazil/East')
1286+
>>> pd.Timestamp.now('Brazil/East') # doctest: +SKIP
12871287
Timestamp('2025-11-11 22:17:59.609943-03:00)
12881288
12891289
Analogous for ``pd.NaT``:

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ class Timestamp(_Timestamp):
19401940

19411941
If you want a specific timezone, in this case 'Brazil/East':
19421942

1943-
>>> pd.Timestamp.now('Brazil/East')
1943+
>>> pd.Timestamp.now('Brazil/East') # doctest: +SKIP
19441944
Timestamp('2025-11-11 22:17:59.609943-03:00)
19451945

19461946
Analogous for ``pd.NaT``:

0 commit comments

Comments
 (0)