[tor-bugs] #14016 [Stem]: Failing unit tests on Python3.4

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 23 21:50:50 UTC 2014


#14016: Failing unit tests on Python3.4
--------------------------+--------------------------------
     Reporter:  Foxboron  |      Owner:  atagar
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  Stem      |    Version:
   Resolution:            |   Keywords:  python3, unittests
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by Foxboron):

 {{{
 @@ -537,7 +533,7 @@ class DescriptorReader(object):
                  return

                desc._set_path(os.path.abspath(target))
 -              desc._set_archive_path(entry.name)
 +              desc._set_archive_path(tar_entry.name)
                self._unreturned_descriptors.put(desc)
                self._iter_notice.set()
            except TypeError as exc:
 }}}

 This gives the correct result for python2 and 3.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14016#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list