Skip to content

Commit db07a2a

Browse files
committed
Restore text
1 parent 44e36aa commit db07a2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_syntax.py

+1
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ def test_from_path_unknown_lexer():
333333
try:
334334
os.write(fh, b"import this\n")
335335
syntax = Syntax.from_path(path)
336+
assert syntax.lexer is None
336337
assert syntax.code == "import this\n"
337338
finally:
338339
os.remove(path)

0 commit comments

Comments
 (0)