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

    r2 r391  
    138138    Traceback (most recent call last):
    139139       ...
    140     SyntaxError: can't assign to generator expression (<doctest test.test_genexps.__test__.doctests[40]>, line 1)
     140      File "<doctest test.test_genexps.__test__.doctests[40]>", line 1
     141    SyntaxError: can't assign to generator expression
    141142
    142143    >>> (y for y in (1,2)) += 10
    143144    Traceback (most recent call last):
    144145       ...
    145     SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[41]>, line 1)
     146      File "<doctest test.test_genexps.__test__.doctests[41]>", line 1
     147    SyntaxError: can't assign to generator expression
    146148
    147149
     
    222224    True
    223225
    224     >>> print g.next.__doc__
     226    >>> from test.test_support import HAVE_DOCSTRINGS
     227    >>> print(g.next.__doc__ if HAVE_DOCSTRINGS else 'x.next() -> the next value, or raise StopIteration')
    225228    x.next() -> the next value, or raise StopIteration
    226229    >>> import types
Note: See TracChangeset for help on using the changeset viewer.