[libvirt] [python PATCH] setup: Accept 'nosetests3' as nosetests binary

Andrea Bolognani posted 1 patch 4 years, 4 months ago
Failed in applying to current master (apply log)
setup.py | 1 +
1 file changed, 1 insertion(+)
[libvirt] [python PATCH] setup: Accept 'nosetests3' as nosetests binary
Posted by Andrea Bolognani 4 years, 4 months ago
This is the name used on Ubuntu.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.py b/setup.py
index ea25dc0..2831595 100755
--- a/setup.py
+++ b/setup.py
@@ -297,6 +297,7 @@ class my_test(Command):
             "nosetests-%d.%d" % (sys.version_info[0],
                                  sys.version_info[1]),
             "nosetests-%d" % (sys.version_info[0]),
+            "nosetests%d" % (sys.version_info[0]),
             "nosetests",
         ]
 
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [python PATCH] setup: Accept 'nosetests3' as nosetests binary
Posted by Daniel P. Berrangé 4 years, 4 months ago
On Mon, Dec 09, 2019 at 03:28:58PM +0100, Andrea Bolognani wrote:
> This is the name used on Ubuntu.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  setup.py | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list