Skip to content

Commit

Permalink
Fixup inspekt checking failures
Browse files Browse the repository at this point in the history
Fixup inspekt checking failures in the latest python 3.8/9 jobs.

Signed-off-by: Yingshun Cui <[email protected]>
  • Loading branch information
Yingshun committed Jul 31, 2023
1 parent 0e1191d commit c4a5808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libguestfs/tests/guestfish_fs_attr_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def test_tune2fs(test, vm, params):
mount_point = params.get("mount_point")

# tune2fs: adjust
newmaxmc, newmc, newgroup, newintervalbc, newreservebc,\
newmaxmc, newmc, newgroup, newintervalbc, newreservebc, \
newuser, neweb = '3', '5', '1', '600', '600', '1', 'panic'
gf.tune2fs(mount_point, 'true', newmaxmc, newmc, neweb,
newgroup, newintervalbc, '30', '/',
Expand Down
2 changes: 1 addition & 1 deletion libvirt/tests/src/graphics/graphics_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ def compare_opts(opts, exp_opts, test):
test.fail("Expect qemu spice options is %s, but get %s"
% (exp_opts, opts))
else:
if type(opts) == dict:
if isinstance(opts, dict):
for key in opts:
if isinstance(exp_opts[key], list):
if not all(re.match(opt, opts[key])
Expand Down

0 comments on commit c4a5808

Please sign in to comment.