Skip to content

Commit f0a6b86

Browse files
committed
Cleanups
1 parent 31fdfff commit f0a6b86

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/code-checks.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ jobs:
5757
run: sudo apt-get update && sudo apt-get install -y libegl1 libopengl0
5858

5959
- name: Run doctests
60-
env:
61-
PANDAS_SET_MODULE_DUNDER: 0
6260
run: cd ci && ./code_checks.sh doctests
6361
if: ${{ steps.build.outcome == 'success' && always() }}
6462

pandas/_libs/missing.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ class NAType(C_NAType):
394394
True
395395
"""
396396
__module__ = "pandas.api.typing"
397+
397398
_instance = None
398399

399400
def __new__(cls, *args, **kwargs):

pandas/_libs/tslibs/nattype.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ class NaTType(_NaT):
371371
0 2023-01-01
372372
1 NaT
373373
"""
374+
374375
__module__ = "pandas.api.typing"
375376

376377
def __new__(cls):

pandas/_libs/tslibs/np_datetime.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ class OutOfBoundsDatetime(ValueError):
193193
at position 0
194194
"""
195195
__module__ = "pandas.errors"
196+
pass
196197

197198

198199
class OutOfBoundsTimedelta(ValueError):
@@ -212,8 +213,9 @@ class OutOfBoundsTimedelta(ValueError):
212213
OutOfBoundsTimedelta: Cannot cast 139999 days 00:00:00
213214
to unit='ns' without overflow.
214215
"""
215-
# Timedelta analogue to OutOfBoundsDatetime
216216
__module__ = "pandas.errors"
217+
# Timedelta analogue to OutOfBoundsDatetime
218+
pass
217219

218220

219221
cdef get_implementation_bounds(

0 commit comments

Comments
 (0)