[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #8629 [Stem]: test.integ.control.Controller: assertIsNotNone does not work on Python v2.6 and older



#8629: test.integ.control.Controller: assertIsNotNone does not work on Python v2.6
and older
---------------------+------------------------------------------------------
 Reporter:  Desoxy   |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  trivial  |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:           |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------
 Unittest.TestCase.assertNotNone was added in Python v2.7.[1] The method is
 used twice in test.integ.control.Controller. The patch replaces those
 calls with assertNotEquals(var, None).

 1:
 http://docs.python.org/2/library/unittest.html#unittest.TestCase.assertIsNotNone

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8629>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs