From 66526e4845fc523552bdba1e1c9af00607fbdf91 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Mon, 15 Jul 2024 13:28:48 +0200 Subject: [PATCH] remove one assert --- lib/python/pyflyby/_parse.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/python/pyflyby/_parse.py b/lib/python/pyflyby/_parse.py index 1740ca4a..5ed3654f 100644 --- a/lib/python/pyflyby/_parse.py +++ b/lib/python/pyflyby/_parse.py @@ -965,7 +965,6 @@ def from_text(cls, text, filename=None, startpos=None, flags=None, """ if isinstance(filename, str): filename = Filename(filename) - assert False assert isinstance(filename, (Filename, types.NoneType)), filename text = FileText(text, filename=filename, startpos=startpos) self = object.__new__(cls)