Skip to content

Commit

Permalink
lint test_effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussain Jafari committed Sep 4, 2024
1 parent 468694a commit 3c18bc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/risks/test_effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,7 @@ def get_exposure(self, index: pd.Index) -> pd.Series:
)
def test_non_loglinear_effect(rr_parameter_data, error_message, base_config, base_plugins):
risk = CustomExposureRisk("risk_factor.test_risk")
effect = NonLogLinearRiskEffect(
risk.name, "cause.test_cause.incidence_rate"
)
effect = NonLogLinearRiskEffect(risk.name, "cause.test_cause.incidence_rate")

risk_effect_rrs = [2.0, 2.4, 4.0]
rr_data = pd.DataFrame(
Expand Down

0 comments on commit 3c18bc7

Please sign in to comment.