Skip to content

Commit

Permalink
dont fail in IPython
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jul 2, 2024
1 parent 81f06cc commit a7e609d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_dynimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def add_import(names: str, code: str, *, strict=True):
... import pandas a pd
...
... df = pd.DataFrame([[1,2], [3,4]])
... ''')
... ''', strict=False) # don't fail doctest
"""
try:
Expand Down

0 comments on commit a7e609d

Please sign in to comment.