[New-bugs-announce] [issue15174] amd64\python_d.exe -m test fails

Stefan Krah report at bugs.python.org
Mon Jun 25 00:34:13 CEST 2012

New submission from Stefan Krah <stefan-usenet at bytereef.org>:

I'm quite sure this worked before, but fails now:

C:\Users\stefan\pydev\cpython\PCbuild>amd64\python_d.exe -m test test_ssl                                       
Traceback (most recent call last):                                                                              
  File "C:\Users\stefan\pydev\cpython\lib\runpy.py", line 162, in _run_module_as_main                           
    "__main__", fname, loader, pkg_name)                                                                        
  File "C:\Users\stefan\pydev\cpython\lib\runpy.py", line 75, in _run_code                                      
    exec(code, run_globals)                                                                                     
  File "C:\Users\stefan\pydev\cpython\lib\test\__main__.py", line 1, in <module>                                
    from test import regrtest, support                                                                          
ImportError: cannot import name regrtest                                                                        
[84466 refs]                              

Calling *from* the amd64 directory is OK:

C:\Users\stefan\pydev\cpython\PCbuild\amd64>python_d.exe -m test test_ssl                                       
[1/1] test_ssl                                                                                                  
1 test OK.                                                                                                      
[155820 refs]

components: Tests
messages: 163871
nosy: pitrou, skrah
priority: normal
severity: normal
status: open
title: amd64\python_d.exe -m test fails
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list