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 f4cbcfa commit 054f95fCopy full SHA for 054f95f
src/pytestqt/qtbot.py
@@ -50,7 +50,7 @@ def _parse_ini_boolean(value: Any) -> bool:
50
if value in (True, False):
51
return cast("bool", value)
52
try:
53
- return {"true": True, "false": False}[cast("str", value).lower()]
+ return {"true": True, "false": False}[str(value).lower()]
54
except KeyError:
55
raise ValueError("unknown string for bool: %r" % value)
56
0 commit comments