From a7e609d6b596e3fbbf19a61ada5063439307aba2 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Tue, 2 Jul 2024 14:17:21 +0200 Subject: [PATCH] dont fail in IPython --- lib/python/pyflyby/_dynimp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/pyflyby/_dynimp.py b/lib/python/pyflyby/_dynimp.py index d70a512b..c9737d07 100644 --- a/lib/python/pyflyby/_dynimp.py +++ b/lib/python/pyflyby/_dynimp.py @@ -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: