Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261986 - dev-python/astng-0.17.4 is available
Summary: dev-python/astng-0.17.4 is available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 14:31 UTC by Alejandro Dubrovsky
Modified: 2009-06-19 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Dubrovsky 2009-03-10 14:31:58 UTC
http://ftp.logilab.org/pub/astng/logilab-astng-0.17.4.tar.gz



Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2009-03-21 17:06:51 UTC
======================================================================
FAIL: test_package_node (unittest_manager.ASTNGManagerTC)             
----------------------------------------------------------------------
Traceback (most recent call last)                                     
  File "/usr/lib64/python2.6/site-packages/logilab/astng/test/unittest_manager.py", line 43, in test_package_node
    self.assertEquals([m.name for m in obj.values()], expected_long)                                             
['__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'f_back', 'f_builtins', 'f_code', 'f_exc_traceback', 'f_exc_type', 'f_exc_value', 'f_globals', 'f_lasti', 'f_lineno', 'f_locals', 'f_restricted', 'f_trace'] == 'unittest_manager'                                                                              

    ------------------------ local variables -------------------------
    expected_long: ['SSL1', 'data', 'data.all', 'appl', 'data.format', 'data.module', 'data.module2', 'data.noendingnewline', 'data.nonregr', 'data.notall']
    expected_short: ['SSL1', '__init__', 'all', 'appl', 'format', 'module', 'module2', 'noendingnewline', 'nonregr', 'notall']                              
    m: Module(None, Stmt([Assign([AssName('name', 'OP_ASSIGN')], Const('a')), Assign([AssName('_bla', 'OP_ASSIGN')], Const(2)), Assign([AssName('other', 'OP_ASSIGN')], Const('o')), Class('Aaa', [], None, Stmt([Pass()]), None), Function(None, 'func', [], (), 0, None, Stmt([Printnl([Const('yo')], None)]))]))     
    obj: <logilab.astng.manager.Package instance at 0x249c248>                                                                                              
    self: <unittest_manager.ASTNGManagerTC testMethod=test_package_node>                                                                                    
      self._TestCase__exc_info: <bound method ASTNGManagerTC._exc_info of <unittest_manager.ASTNGManagerTC testMethod=test_package_node>>                   
      self._TestCase__testMethodName: 'test_package_node'                                                                                                   
      self._captured_stderr: ''                                                                                                                             
      self._captured_stdout: ''                                                                                                                             
      self._current_test_descr: None                                                                                                                        
      self._err: []                                                                                                                                         
      self._options_: <Values at 0x1185170: {'profile': None, 'exitfirst': False, 'tags_pattern': None, 'printonly': None, 'pdb': None, 'skipped': None, 'testdir': None, 'dbc': False, 'restart': False}>                                                                                                              
      self._out: []                                                                                                                                         
      self._printonly: None                                                                                                                                 
      self._testMethodDoc: None                                                                                                                             
      self._testMethodName: 'test_package_node'                                                                                                             
      self.capture: 0                                                                                                                                       
      self.manager: <logilab.astng.manager.ASTNGManager object at 0x1633e90>                                                                                
    ------------------------------------------------------------------                                                                                      

AssertionError: ['SSL1', 'data', 'all', 'appl', 'data.format', 'data.module', 'data.module2', 'data.noendingnewline', 'data.nonregr', 'notall'] != ['SSL1', 'data', 'data.all', 'appl', 'data.format', 'data.module', 'data.module2', 'data.noendingnewline', 'data.nonregr', 'data.notall']                            

                              no stdout                               
                              no stderr                               
----------------------------------------------------------------------
Ran 4 tests in 0.174s                                                 

FAILED (failures=1)


test failure with python 2.6 - patches welcome :)
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2009-06-19 14:00:41 UTC
astng-0.19.0 is now in the tree.
Thanks for reporting! :)