aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_device_get_region_io_fds.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_device_get_region_io_fds.py')
-rw-r--r--test/py/test_device_get_region_io_fds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/test_device_get_region_io_fds.py b/test/py/test_device_get_region_io_fds.py
index 63e3236..2179cf7 100644
--- a/test/py/test_device_get_region_io_fds.py
+++ b/test/py/test_device_get_region_io_fds.py
@@ -140,7 +140,7 @@ def test_device_get_region_io_fds_no_regions_setup():
index = VFU_PCI_DEV_BAR3_REGION_IDX, count = 0)
ret = msg(ctx, sock, VFIO_USER_DEVICE_GET_REGION_IO_FDS, payload,
- expect = 0)
+ expect = errno.EINVAL)
def test_device_get_region_io_fds_region_no_mmap():