From db2e505e47b4ec52dc8aa7d3d71eaecc0c20cc68 Mon Sep 17 00:00:00 2001 From: Sermet Pekin <96650846+SermetPekin@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:52:28 +0300 Subject: [PATCH] Update test_get_series_exp.py --- evdspy/EVDSlocal/tests/test_get_series_exp.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/evdspy/EVDSlocal/tests/test_get_series_exp.py b/evdspy/EVDSlocal/tests/test_get_series_exp.py index 8ac7691..3c6d26a 100644 --- a/evdspy/EVDSlocal/tests/test_get_series_exp.py +++ b/evdspy/EVDSlocal/tests/test_get_series_exp.py @@ -37,16 +37,14 @@ def fnc(item: Any) -> Result: DF = pd.DataFrame - def test_get_series_exp(capsys): - with capsys.disabled(): items = [index1, index2, indexes, index_table] for item in items: result: Result = fnc(item) - # we will check if this function handles all data types correctly - # then examine the last one to see what we get as a result from the function + assert isinstance(result.data, DF) assert isinstance(result.metadata, DF) assert callable(result.write) assert callable(result.to_excel) +