~ubuntu-branches/debian/sid/pylint/sid

« back to all changes in this revision

Viewing changes to test/input/func_noerror_genexp_in_class_scope.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-03-28 12:57:48 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100328125748-fblfc09naepbjhnx
Tags: 0.20.0-1
* New upstream release
  - thanks to Michael Richters for the report; Closes: #475939
* debian/copyright
  - updated upstream and packaging copyright years
* debian/control
  - bump Depends on python-logilab-common to '>= 0.49.0'
  - bump Depends on python-logilab-astng to '>= 0.20.0'
  - bump Standards-Version to 3.8.4 (no changes needed)
  - dropped XB-Python-Version
  - added python-logilab-common to b-d-i to have 'pytest' available
  - added python-logilab-astng to b-d-i, needed to run tests
* debian/rules
  - also delete *.pyo files (generated by tests running with -OO)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# pylint: disable-msg=W0232,R0903
 
2
"""class scope must be handled correctly in genexps"""
 
3
 
 
4
__revision__ = ''
 
5
 
 
6
class MyClass:
 
7
    """ds"""
 
8
    var1 = []
 
9
    var2 = list(value*2 for value in var1)