From b6b4007ffd7490d121c0305437a5568d3853b7ef Mon Sep 17 00:00:00 2001 From: authmillenon Date: Fri, 15 Jun 2012 14:14:22 +0200 Subject: [PATCH] Fixed bug in test_add. --- test/test_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_config.py b/test/test_config.py index c2ab641..28e1d56 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -76,7 +76,7 @@ class ConfigTest(utils.RepoTestCase): os.remove(config_filename) def test_add(self): - config = pygit2.Config.get_global_config() + config = pygit2.Config() new_file = open(config_filename, "w") new_file.write("[this]\n\tthat = true\n")