MCPcopy Index your code
hub / github.com/python/cpython / test_parse_file_no_extension

Method test_parse_file_no_extension

Lib/test/test_clinic.py:797–801  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

795 parse_file(filename, limited_capi=False)
796
797 def test_parse_file_no_extension(self) -> None:
798 self.expect_parsing_failure(
799 filename="foo",
800 expected_error="Can't extract file type for file 'foo'"
801 )
802
803 def test_parse_file_strange_extension(self) -> None:
804 filenames_to_errors = {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected