Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/test/test_slice.py

    r2 r391  
    7272        obj = AnyClass()
    7373        s = slice(obj)
    74         self.assert_(s.stop is obj)
     74        self.assertTrue(s.stop is obj)
    7575
    7676    def test_indices(self):
     
    116116
    117117        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)])
    120121
    121122    def test_pickle(self):
Note: See TracChangeset for help on using the changeset viewer.