Skip to content

Commit

Permalink
Update tests/e2e/test_runtime.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex <[email protected]>
  • Loading branch information
tarilabs and Alex-Izquierdo authored Sep 4, 2023
1 parent 9152775 commit b7c1b0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/test_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,8 @@ def test_hot_reload():
stdout=subprocess.PIPE,
)

fin = open(rulebook, "rt")
original_data = fin.read()
fin.close()
with open(rulebook, "rt") as file:
original_data = file.read()
found_rule_1_in_out = False
found_rule_2_in_out = False

Expand Down

0 comments on commit b7c1b0b

Please sign in to comment.