Bug 1312031 - test module
test module
Status: NEW
Product: Fedora
Classification: Fedora
Component: python3 (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Charalampos Stratakis
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-25 10:02 EST by Miro Hrončok
Modified: 2017-04-19 08:29 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miro Hrončok 2016-02-25 10:02:27 EST
Should we really have test module installed in python3-libs?

Isn't it self test suite?
Comment 1 Jan Kurik 2016-07-26 00:10:21 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.
Comment 2 Charalampos Stratakis 2017-04-18 14:12:07 EDT
I guess we are talking about /usr/lib64/python3.5/test ?

Also we are shipping with python3-libs the idle tests at /usr/lib64/python3.5/idlelib/idle_test

I think this should be changed as well (assuming it won't break idle somehow).
Comment 3 Charalampos Stratakis 2017-04-19 08:29:15 EDT
Did some digging.


These lines exist at python3-libs package

%dir %{pylibdir}/test/
%dir %{pylibdir}/test/__pycache__/
%dir %{pylibdir}/test/support/
%dir %{pylibdir}/test/support/__pycache__/
%{pylibdir}/test/__init__.py
%{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
%{pylibdir}/test/support/__init__.py
%{pylibdir}/test/support/__pycache__/__init__%{bytecode_suffixes}

the test.support module is there due to bug 596258

Commit: http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=e1c7be02b9c4543cb0b26d6b9c02ea4d95fc3d4b

Now the rest of the lines have been propagated there from python2 package when the tests subpackage was actually created. Not sure if there is reason for that and/if we should change it.

Relevant commit:
http://pkgs.fedoraproject.org/cgit/rpms/python.git/commit/?id=860ed4856c8af7b8fc75f22f7b1dab5007b1e5a0

Note You need to log in before you can comment on or make changes to this bug.