Skip to content

Commit

Permalink
fix: remove deprecated pandas method
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatu Aalto committed Oct 10, 2022
1 parent 837473c commit 2897cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flaky_tests_detection/check_flakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def calc_fliprate(testruns: pd.Series) -> float:
previous = None
flips = 0
possible_flips = len(testruns) - 1
for _, val in testruns.iteritems():
for _, val in testruns.items():
if first:
first = False
previous = val
Expand Down

0 comments on commit 2897cad

Please sign in to comment.