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_string.py

    r2 r391  
    177177        class CheckAllUsedFormatter(string.Formatter):
    178178            def check_unused_args(self, used_args, args, kwargs):
    179                 # Track which arguments actuallly got used
     179                # Track which arguments actually got used
    180180                unused_args = set(kwargs.keys())
    181181                unused_args.update(range(0, len(args)))
     
    203203
    204204    def test_builtin(self):
    205         self.assert_(str is bytes)
     205        self.assertTrue(str is bytes)
    206206
    207207    def test_syntax(self):
    208208        self.assertEqual(b"spam", "spam")
    209209        self.assertEqual(br"egg\foo", "egg\\foo")
    210         self.assert_(type(b""), str)
    211         self.assert_(type(br""), str)
     210        self.assertTrue(type(b""), str)
     211        self.assertTrue(type(br""), str)
    212212
    213213def test_main():
Note: See TracChangeset for help on using the changeset viewer.