Skip to content

Commit

Permalink
fixed test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran-Fishwick-TfN committed Jan 8, 2025
1 parent 2d34008 commit 55b54e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/gravity_model/test_multi_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
from pathlib import Path

# Third Party
from matplotlib import pyplot as plt
import numpy as np
import pandas as pd
import pytest
from caf.toolkit import cost_utils
from matplotlib import pyplot as plt

# Local Imports
from caf.distribute import cost_functions
Expand Down Expand Up @@ -249,5 +248,5 @@ def test_results(self, cal_results, request):
assert isinstance(cal_results, dict)
for result in cal_results.values():
assert isinstance(result, GravityModelResults)
assert isinstance(result.summary(), pd.Series)
assert isinstance(result.summary, pd.Series)
assert isinstance(result.plot_distributions(), plt.Figure)

0 comments on commit 55b54e2

Please sign in to comment.