blob: 1b261068c4d0a9d9c3b644a602208f1280f17762 [file] [log] [blame]
Walter Dörwald0fd583c2003-02-21 12:53:50 +00001import unittest
2from test import test_support, string_tests
3
4
5class StrTest(
6 string_tests.CommonTest,
7 string_tests.MixinStrUnicodeUserStringTest,
8 string_tests.MixinStrUserStringTest
9 ):
10
11 type2test = str
12
13 # We don't need to propagate to str
14 def fixtype(self, obj):
15 return obj
16
17def test_main():
18 suite = unittest.TestSuite()
19 suite.addTest(unittest.makeSuite(StrTest))
20 test_support.run_suite(suite)
21
22if __name__ == "__main__":
23 test_main()