Bug ID 942751
Summary python3 test / missing __main__ module
Classification openSUSE
Product openSUSE Factory
Version 201505*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter myemailu@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When running
python 3 -m test

the output is:

Traceback (most recent call last):
  File "/usr/lib64/python3.4/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.4/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib64/python3.4/_import_failed/test.py", line 21, in <module>
    Please file a bug on the SUSE Bugzilla.""".format(__name__))
ImportError: Module '__main__' is not installed.
It is supposed to be part of python3 distribution, but missing from failed
import map.
Please file a bug on the SUSE Bugzilla.


I'm using  python3 on Tumbleweed 

rpm -qi python3
Name        : python3
Version     : 3.4.3
Release     : 4.1
Architecture: x86_64
Install Date: Mi 29 Jul 2015 22:03:48 CEST
Group       : Development/Languages/Python
Size        : 2996719
License     : Python-2.0
Signature   : RSA/SHA256, Di 28 Jul 2015 11:49:27 CEST, Key ID b88b2fd43dbdc284
Source RPM  : python3-3.4.3-4.1.src.rpm
Build Date  : Di 28 Jul 2015 11:49:14 CEST
Build Host  : build75
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.python.org/
Summary     : Python3 Interpreter


You are receiving this mail because: