selftests: use the proper Python version when listing tests
In the parallel execution, not honoring the Python version used
elsewhere may cause unexpected issues. One is an error situation in
which Python 3's unittest.loader can not load an exception definition
that exists only Python 2.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录