diff --git a/python/setup.py.in b/python/setup.py.in index 403c4b53b..65939b074 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -58,5 +58,4 @@ This package contains the Python bindings for libguestfs. libraries=['guestfs'], define_macros=[('GUESTFS_PRIVATE', '1')], ) - ] -) + ]) diff --git a/python/t/test420LogMessages.py b/python/t/test420LogMessages.py index ad98ea031..bec3b9fd4 100644 --- a/python/t/test420LogMessages.py +++ b/python/t/test420LogMessages.py @@ -40,7 +40,7 @@ class Test420LogMessages(unittest.TestCase): # Register an event callback for all log messages. events = guestfs.EVENT_APPLIANCE | guestfs.EVENT_LIBRARY \ - | guestfs.EVENT_WARNING | guestfs.EVENT_TRACE + | guestfs.EVENT_WARNING | guestfs.EVENT_TRACE g.set_event_callback(log_callback, events) # Now make sure we see some messages. diff --git a/python/t/test820RHBZ912499.py b/python/t/test820RHBZ912499.py index 800b7ddff..60509dc6a 100644 --- a/python/t/test820RHBZ912499.py +++ b/python/t/test820RHBZ912499.py @@ -29,7 +29,8 @@ import guestfs from .tests_helper import * -@skipUnlessArchMatches("(i.86|x86_64)") # If the architecture doesn't support IDE, skip the test. +# If the architecture doesn't support IDE, skip the test. +@skipUnlessArchMatches("(i.86|x86_64)") @skipUnlessGuestfsBackendIs('libvirt') @skipUnlessLibvirtHasCPointer() class Test820RHBZ912499(unittest.TestCase):