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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs