mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-05 04:55:06 +01:00
24 lines
415 B
Python
24 lines
415 B
Python
|
import pytest
|
||
|
|
||
|
import pandas._testing as tm
|
||
|
|
||
|
|
||
|
@pytest.fixture
|
||
|
def string_series():
|
||
|
"""
|
||
|
Fixture for Series of floats with Index of unique strings
|
||
|
"""
|
||
|
s = tm.makeStringSeries()
|
||
|
s.name = "series"
|
||
|
return s
|
||
|
|
||
|
|
||
|
@pytest.fixture
|
||
|
def object_series():
|
||
|
"""
|
||
|
Fixture for Series of dtype object with Index of unique strings
|
||
|
"""
|
||
|
s = tm.makeObjectSeries()
|
||
|
s.name = "objects"
|
||
|
return s
|