Skip to content

Commit 5eaaec4

Browse files
committed
add comment to tests
1 parent ae35d81 commit 5eaaec4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

causalpy/tests/test_integration_pymc_examples.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ def test_its():
378378
assert isinstance(ax, np.ndarray) and all(
379379
isinstance(item, plt.Axes) for item in ax
380380
), "ax must be a numpy.ndarray of plt.Axes"
381+
# Test get_plot_data with default parameters
381382
plot_data = result.get_plot_data()
382383
assert isinstance(plot_data, pd.DataFrame), (
383384
"The returned object is not a pandas DataFrame"
@@ -431,6 +432,7 @@ def test_its_covid():
431432
assert isinstance(ax, np.ndarray) and all(
432433
isinstance(item, plt.Axes) for item in ax
433434
), "ax must be a numpy.ndarray of plt.Axes"
435+
# Test get_plot_data with default parameters
434436
plot_data = result.get_plot_data()
435437
assert isinstance(plot_data, pd.DataFrame), (
436438
"The returned object is not a pandas DataFrame"
@@ -488,6 +490,7 @@ def test_sc():
488490
assert isinstance(ax, np.ndarray) and all(
489491
isinstance(item, plt.Axes) for item in ax
490492
), "ax must be a numpy.ndarray of plt.Axes"
493+
# Test get_plot_data with default parameters
491494
plot_data = result.get_plot_data()
492495
assert isinstance(plot_data, pd.DataFrame), (
493496
"The returned object is not a pandas DataFrame"
@@ -550,6 +553,7 @@ def test_sc_brexit():
550553
assert isinstance(ax, np.ndarray) and all(
551554
isinstance(item, plt.Axes) for item in ax
552555
), "ax must be a numpy.ndarray of plt.Axes"
556+
# Test get_plot_data with default parameters
553557
plot_data = result.get_plot_data()
554558
assert isinstance(plot_data, pd.DataFrame), (
555559
"The returned object is not a pandas DataFrame"

causalpy/tests/test_integration_skl_examples.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def test_its():
112112
assert isinstance(ax, np.ndarray) and all(
113113
isinstance(item, plt.Axes) for item in ax
114114
), "ax must be a numpy.ndarray of plt.Axes"
115+
# Test get_plot_data with default parameters
115116
plot_data = result.get_plot_data()
116117
assert isinstance(plot_data, pd.DataFrame), (
117118
"The returned object is not a pandas DataFrame"
@@ -157,6 +158,7 @@ def test_sc():
157158
assert isinstance(ax, np.ndarray) and all(
158159
isinstance(item, plt.Axes) for item in ax
159160
), "ax must be a numpy.ndarray of plt.Axes"
161+
# Test get_plot_data with default parameters
160162
plot_data = result.get_plot_data()
161163
assert isinstance(plot_data, pd.DataFrame), (
162164
"The returned object is not a pandas DataFrame"

0 commit comments

Comments
 (0)