mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 09:17:48 +01:00
22 lines
742 B
Python
22 lines
742 B
Python
|
import pandas._testing as tm
|
||
|
|
||
|
|
||
|
class BaseExtensionTests:
|
||
|
# classmethod and different signature is needed
|
||
|
# to make inheritance compliant with mypy
|
||
|
@classmethod
|
||
|
def assert_equal(cls, left, right, **kwargs):
|
||
|
return tm.assert_equal(left, right, **kwargs)
|
||
|
|
||
|
@classmethod
|
||
|
def assert_series_equal(cls, left, right, *args, **kwargs):
|
||
|
return tm.assert_series_equal(left, right, *args, **kwargs)
|
||
|
|
||
|
@classmethod
|
||
|
def assert_frame_equal(cls, left, right, *args, **kwargs):
|
||
|
return tm.assert_frame_equal(left, right, *args, **kwargs)
|
||
|
|
||
|
@classmethod
|
||
|
def assert_extension_array_equal(cls, left, right, *args, **kwargs):
|
||
|
return tm.assert_extension_array_equal(left, right, *args, **kwargs)
|