Skip to content

Commit

Permalink
bug: add import and object reference due to upstream changes (#208)
Browse files Browse the repository at this point in the history
Due to an upstream change in how a module was imported and referenced, we needed to update some of our compliance tests to match.

Fixes #200 🦕
Fixes #201 🦕
Fixes #202 🦕
Fixes #203 🦕
Fixes #204 🦕
Fixes #205 🦕
Fixes #206 🦕
Fixes #207 🦕
  • Loading branch information
chalmerlowe authored Aug 31, 2023
1 parent 4087061 commit 8a7b25f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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
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

0 comments on commit 8a7b25f

Please sign in to comment.