We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388577b commit 9620c42Copy full SHA for 9620c42
tests/_test_tools.py
@@ -31,7 +31,7 @@ def _read_file(path: Optional[Path]) -> str:
31
try:
32
with open(path, 'r') as f:
33
return f.read()
34
- except FileNotFoundError as ex:
+ except FileNotFoundError:
35
return '<missing>'
36
except Exception as ex:
37
return f'<error: {ex}>'
0 commit comments