Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/compliance/date/test_date_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import pandas
from pandas.tests.extension import base
import pandas._testing as tm
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import pytest

import db_dtypes
Expand Down Expand Up @@ -88,7 +89,7 @@ def test_value_counts(self, all_data, dropna):
result = pandas.Series(all_data).value_counts(dropna=dropna).sort_index()
expected = pandas.Series(other).value_counts(dropna=dropna).sort_index()

self.assert_series_equal(result, expected)
tm.assert_series_equal(result, expected)

def test_diff(self):
pytest.xfail(
Expand Down
3 changes: 2 additions & 1 deletion tests/compliance/time/test_time_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import pandas
from pandas.tests.extension import base
import pandas._testing as tm
import pytest

import db_dtypes
Expand Down Expand Up @@ -88,7 +89,7 @@ def test_value_counts(self, all_data, dropna):
result = pandas.Series(all_data).value_counts(dropna=dropna).sort_index()
expected = pandas.Series(other).value_counts(dropna=dropna).sort_index()

self.assert_series_equal(result, expected)
tm.assert_series_equal(result, expected)


class TestParsing(base.BaseParsingTests):
Expand Down