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

Re: [tor-bugs] #6205 [Stem]: integration tests fail on Windows



#6205: integration tests fail on Windows
----------------------+-----------------------------------------------------
 Reporter:  reganeet  |          Owner:  reganeet      
     Type:  defect    |         Status:  needs_revision
 Priority:  normal    |      Milestone:                
Component:  Stem      |        Version:                
 Keywords:            |         Parent:                
   Points:            |   Actualpoints:                
----------------------+-----------------------------------------------------

Comment(by reganeet):

 Hi atagar:

 In stem/util/system.py line 512, why did you add an is_windows() check?
 This makes the method fail to expand tildas on windows.
 os.path.expanduser(relative_path) works perfectly on windows:

 {{{
 >>> os.path.expanduser("~")
 'C:\\Users\\Beck'

 }}}
 So imo, we should remove this is_windows() check.

 Beck

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6205#comment:7>
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