Merged minor cleanups from 3.2.

This commit is contained in:
Łukasz Langa 2011-04-29 16:17:51 +02:00
commit 82710c594b
2 changed files with 1 additions and 3 deletions

View file

@ -993,7 +993,7 @@ class RawConfigParserTestCase(BasicTestCase):
cf.add_section(123)
cf.set(123, 'this is sick', True)
self.assertEqual(cf.get(123, 'this is sick'), True)
if cf._dict.__class__ is configparser._default_dict:
if cf._dict is configparser._default_dict:
# would not work for SortedDict; only checking for the most common
# default dictionary (OrderedDict)
cf.optionxform = lambda x: x