Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Aug 28, 2017
1 parent 10efc6a commit c80a512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def test_kmf_does_not_drop_to_zero_if_last_point_is_censored(self):
E[np.argmax(T)] = 0
kmf = KaplanMeierFitter()
kmf.fit(T, E)
assert T.survival_function_[-1] > 0
assert kmf.survival_function_['KM_estimate'].iloc[-1] > 0


class TestNelsonAalenFitter():
Expand Down

0 comments on commit c80a512

Please sign in to comment.