Skip to content

Commit 9ea9cc3

Browse files
Do not use bare 'except'
1 parent 34d87aa commit 9ea9cc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_tictactoe/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_x_and_o_won():
9797
try:
9898
board.result()
9999
assert False
100-
except:
100+
except Exception:
101101
assert True
102102

103103

0 commit comments

Comments
 (0)