Skip to content

Commit

Permalink
Fix doctest again again
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Feb 12, 2024
1 parent 80da2a5 commit c34496f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/metavar.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Var:
Traceback (most recent call last):
ParseSyntaxError: Invalid intent variable property, 'ino', at <standard input>:1
>>> Var({'local_name' : 'foo', 'standard_name' : 'hi_mom', 'units' : 'm s-1', 'dimensions' : '()', 'type' : 'real', 'intent' : 'in', 'optional' : 'false'}, ParseSource('vname', 'SCHEME', ParseContext()), _MVAR_DUMMY_RUN_ENV) #doctest: +IGNORE_EXCEPTION_DETAIL
<metavar.Var hi_mom: foo at 0x7f5c18a6c760>
<metavar.Var hi_mom: foo at 0x...>
# Check that two variables that differ in their units - m vs km - are compatible
>>> Var({'local_name' : 'foo', 'standard_name' : 'hi_mom', 'units' : 'm', \
Expand Down

0 comments on commit c34496f

Please sign in to comment.