Skip to content

Commit

Permalink
Restore text
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Sep 17, 2023
1 parent 44e36aa commit db07a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def test_from_path_unknown_lexer():
try:
os.write(fh, b"import this\n")
syntax = Syntax.from_path(path)
assert syntax.lexer is None
assert syntax.code == "import this\n"
finally:
os.remove(path)
Expand Down

0 comments on commit db07a2a

Please sign in to comment.