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

    r2 r391  
    1313
    1414    def test_varargs1(self):
    15         {}.has_key(0)
     15        with test_support.check_py3k_warnings():
     16            {}.has_key(0)
    1617
    1718    def test_varargs2(self):
     
    2526
    2627    def test_varargs1_ext(self):
    27         {}.has_key(*(0,))
     28        with test_support.check_py3k_warnings():
     29            {}.has_key(*(0,))
    2830
    2931    def test_varargs2_ext(self):
    3032        try:
    31             {}.has_key(*(1, 2))
     33            with test_support.check_py3k_warnings():
     34                {}.has_key(*(1, 2))
    3235        except TypeError:
    3336            pass
Note: See TracChangeset for help on using the changeset viewer.