Skip to content

Commit

Permalink
Try one other possibility for symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks authored Jun 12, 2024
1 parent e15bf6f commit dedaf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio/_tests/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def lookup_symbol(symbol: str) -> dict[str, str]:
# using .remove() instead of .delete() to get an error in case they start not
# being missing

if BaseException in class_.__mro__ and sys.version_info >= (3, 13):
if hasattr(class_, "__attrs_attrs__") and sys.version_info >= (3, 13):
missing.remove("__firstlineno__")
missing.remove("__static_attributes__")

Expand Down

0 comments on commit dedaf21

Please sign in to comment.