Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ff905 commit 309db06Copy full SHA for 309db06
1 file changed
Lib/test/test_cfgparser.py
@@ -97,6 +97,11 @@ def case_sensitivity():
97
verify(cf.options("MySection") == ["option"])
98
verify(cf.get("MySection", "Option") == "first line\nsecond line")
99
100
+ # SF bug #561822:
101
+ cf = ConfigParser.ConfigParser(defaults={"key":"value"})
102
+ cf.readfp(StringIO.StringIO("[section]\nnekey=nevalue\n"))
103
+ verify(cf.has_option("section", "Key"))
104
+
105
106
def boolean(src):
107
print "Testing interpretation of boolean Values..."
0 commit comments