[tor-bugs] #8629 [Stem]: test.integ.control.Controller: assertIsNotNone does not work on Python v2.6 and older
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 2 22:56:14 UTC 2013
#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
More information about the tor-bugs
mailing list