Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testing/code/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def test_getstatementrange_bug(self) -> None:
x = (
y +
z)
except:
except Exception:
pass
"""
)
Expand Down
2 changes: 1 addition & 1 deletion testing/test_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def run(self, result):
result.add{type}(self, excinfo._excinfo)
except KeyboardInterrupt:
raise
except:
except Exception:
pytest.fail("add{type} should not raise")
def test_hello(self):
pass
Expand Down