Skip to content

Commit

Permalink
STYLE: Inconsistent namespace - api (pandas-dev#39992)
Browse files Browse the repository at this point in the history
  • Loading branch information
01-vyom committed Mar 4, 2021
1 parent 74a6898 commit a607def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/api/test_api.py
Expand Up @@ -236,9 +236,9 @@ def test_datetime():

with warnings.catch_warnings():
warnings.simplefilter("ignore", FutureWarning)
assert datetime(2015, 1, 2, 0, 0) == pd.datetime(2015, 1, 2, 0, 0)
assert datetime(2015, 1, 2, 0, 0) == datetime(2015, 1, 2, 0, 0)

assert isinstance(pd.datetime(2015, 1, 2, 0, 0), pd.datetime)
assert isinstance(datetime(2015, 1, 2, 0, 0), datetime)


def test_sparsearray():
Expand Down

0 comments on commit a607def

Please sign in to comment.