Skip to content

Commit

Permalink
re-add test
Browse files Browse the repository at this point in the history
  • Loading branch information
nora-codecov committed Sep 12, 2024
1 parent 0f972ef commit 3343632
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/calculator/test_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def test_divide():
assert Calculator.divide(1.0, 2.0) == 0.5
assert Calculator.divide(0, 2.0) == 0
assert Calculator.divide(-4, 2.0) == -2.0
#
# def test_divide_by_0():
# assert Calculator.divide(2.0, 0) == 'Cannot divide by 0'

def test_divide_by_0():
assert Calculator.divide(2.0, 0) == 'Cannot divide by 0'

0 comments on commit 3343632

Please sign in to comment.