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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jun 22 11:38:17 UTC 2012


#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


More information about the tor-bugs mailing list