Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/misc/sageinspect.py (SageArgSpecVisitor): Relax doctest patt…
Browse files Browse the repository at this point in the history
…ern for python 3.9
  • Loading branch information
mkoeppe committed Sep 18, 2020
1 parent 27a57bc commit 39416fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/sageinspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class SageArgSpecVisitor(ast.NodeVisitor):
sage: sorted(v.items(), key=lambda x: str(x[0]))
[(37.0, 'temp'), ('a', ('e', 2, [None, ({False: True}, 'pi')]))]
sage: v = ast.parse("jc = ['veni', 'vidi', 'vici']").body[0]; v
<_ast.Assign object at ...>
<...ast.Assign object at ...>
sage: attrs = [x for x in dir(v) if not x.startswith('__')]
sage: '_attributes' in attrs and '_fields' in attrs and 'col_offset' in attrs
True
Expand Down

0 comments on commit 39416fb

Please sign in to comment.