diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-06 00:07:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-06 00:07:11 (GMT) |
commit | f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d (patch) | |
tree | c02f8db2179cce9a87317c373dcb733d6f2134c0 /Lib/test/test_cfgparser.py | |
parent | 554c8b856cbeb29f3fef0350846aef442832acac (diff) | |
download | cpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.zip cpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.tar.gz cpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.tar.bz2 |
Migrate remaining tests from UserDict.UserDict to collections.UserDict.
Diffstat (limited to 'Lib/test/test_cfgparser.py')
-rw-r--r-- | Lib/test/test_cfgparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py index 8822735..3ef82be 100644 --- a/Lib/test/test_cfgparser.py +++ b/Lib/test/test_cfgparser.py @@ -1,11 +1,11 @@ import ConfigParser import io import unittest -import UserDict +import collections from test import test_support -class SortedDict(UserDict.UserDict): +class SortedDict(collections.UserDict): def items(self): return sorted(self.data.items()) |