summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2004-05-31 16:29:04 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2004-05-31 16:29:04 (GMT)
commit0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6 (patch)
treeac27098581c6e50a7776b6853950670aaa48473f /Lib/test/test_os.py
parentcbd0b365c1f27d390827e74a88a96f3a13034e0e (diff)
downloadcpython-0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6.zip
cpython-0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6.tar.gz
cpython-0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6.tar.bz2
Port the dictionary tests from test_types.py to unittest. Collect as much
mapping tests as possible in mapping_test.py and reuse the tests in test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py. From SF patch #736962.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index db8d99e..1e283cd 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -205,9 +205,9 @@ class StatAttributeTests(unittest.TestCase):
except TypeError:
pass
-from test_userdict import TestMappingProtocol
+from test import mapping_tests
-class EnvironTests(TestMappingProtocol):
+class EnvironTests(mapping_tests.BasicTestMappingProtocol):
"""check that os.environ object conform to mapping protocol"""
_tested_class = None
def _reference(self):