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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy