Skip to content

Commit d2c1d19

Browse files
committed
BF: wrap map into list, since iterator is not well digested by GitConfigParser
1 parent cd6e82c commit d2c1d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/test/test_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_read_write(self):
9090
# END for each filename
9191

9292
def test_includes_order(self):
93-
with GitConfigParser(map(fixture_path, ("git_config", "git_config_global"))) as r_config:
93+
with GitConfigParser(list(map(fixture_path, ("git_config", "git_config_global")))) as r_config:
9494
r_config.read() # enforce reading
9595
# Simple inclusions, again checking them taking precedence
9696
assert r_config.get_value('sec', 'var0') == "value0_included"

0 commit comments

Comments
 (0)