def test_req_file_parse_comment_start_of_line(self, tmpdir, finder):
        with open(tmpdir.join("req1.txt"), "w") as fp:
            fp.write("# Comment ")

        reqs = list(parse_requirements(tmpdir.join("req1.txt"), finder,
                    session=PipSession()))

        assert not reqs
Test parsing comments in a requirements file
dataset/ETHPy150Open pypa/pip/tests/unit/test_req_file.py/TestParseRequirements.test_req_file_parse_comment_start_of_line