Skip to content

Commit

Permalink
remove one assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jul 15, 2024
1 parent 1c43b3e commit 66526e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/python/pyflyby/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 66526e4

Please sign in to comment.