Changeset 391 for python/trunk/Lib/test/test_slice.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_slice.py
r2 r391 72 72 obj = AnyClass() 73 73 s = slice(obj) 74 self.assert _(s.stop is obj)74 self.assertTrue(s.stop is obj) 75 75 76 76 def test_indices(self): … … 116 116 117 117 x = X() 118 x[1:2] = 42 119 self.assertEquals(tmp, [(1, 2, 42)]) 118 with test_support.check_py3k_warnings(): 119 x[1:2] = 42 120 self.assertEqual(tmp, [(1, 2, 42)]) 120 121 121 122 def test_pickle(self):
Note:
See TracChangeset
for help on using the changeset viewer.