Skip to content

Commit 8473a62

Browse files
committed
Unrelated E721 change
1 parent e77ee4b commit 8473a62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sanic/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ def url_for(self, view_name: str, **kwargs):
11091109
)
11101110
passes_pattern = pattern.match(supplied_param)
11111111
if not passes_pattern:
1112-
if param_info.cast != str:
1112+
if param_info.cast is not str:
11131113
msg = (
11141114
f'Value "{supplied_param}" '
11151115
f"for parameter `{param_info.name}` does "

0 commit comments

Comments
 (0)