Remove explicit empty `""` handling in ConfigParser by EliahKagan · Pull Request #2047 · gitpython-developers/GitPython
def test_config_with_empty_quotes(self): cr = GitConfigParser(fixture_path("git_config_with_empty_quotes"), read_only=True) self.assertEqual(cr.get("core", "filemode"), "", "quotes can form a literal empty string as value")
def test_config_with_quotes_with_literal_whitespace(self): cr = GitConfigParser(fixture_path("git_config_with_quotes_whitespace_inside"), read_only=True) self.assertEqual(cr.get("core", "commentString"), "# ")