Changeset 391 for python/trunk/Lib/test/test_userstring.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/test/test_userstring.py
r2 r391 105 105 L[start:stop:step] = data 106 106 s[start:stop:step] = "".join(data) 107 self.assertEqual s(s, "".join(L))107 self.assertEqual(s, "".join(L)) 108 108 109 109 del L[start:stop:step] 110 110 del s[start:stop:step] 111 self.assertEqual s(s, "".join(L))111 self.assertEqual(s, "".join(L)) 112 112 113 113 def test_immutable(self): … … 115 115 s2 = s.immutable() 116 116 self.assertEqual(s, s2) 117 self.assert _(isinstance(s2, UserString))117 self.assertIsInstance(s2, UserString) 118 118 119 119 def test_iadd(self): … … 137 137 def test_main(): 138 138 with warnings.catch_warnings(): 139 warnings.filterwarnings("ignore", ".*MutableString", 139 warnings.filterwarnings("ignore", ".*MutableString has been removed", 140 DeprecationWarning) 141 warnings.filterwarnings("ignore", 142 ".*__(get|set|del)slice__ has been removed", 140 143 DeprecationWarning) 141 144 test_support.run_unittest(UserStringTest, MutableStringTest)
Note:
See TracChangeset
for help on using the changeset viewer.