Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2c1d19

Browse files
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

‎git/test/test_config.py‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /