Skip to content

Commit e78f317

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent afa13f5 commit e78f317

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/trio/_tests/test_exports.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ def lookup_symbol(symbol: str) -> dict[str, str]:
384384
elif tool == "mypy":
385385
# load the cached type information
386386
cached_type_info = cache_json["names"][class_name]
387-
assert "node" not in cached_type_info, "previously this was an 'if' but it seems it's no longer possible for this cache to contain 'node', if this assert raises for you please let us know!"
387+
assert (
388+
"node" not in cached_type_info
389+
), "previously this was an 'if' but it seems it's no longer possible for this cache to contain 'node', if this assert raises for you please let us know!"
388390
cached_type_info = lookup_symbol(cached_type_info["cross_ref"])
389391

390392
assert "node" in cached_type_info

0 commit comments

Comments
 (0)