diff options
author | Axel PASCON <93100011+brvtalcake@users.noreply.github.com> | 2023-06-21 14:30:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 13:30:25 +0100 |
commit | 728da2b9e37bc507f910652bbe09b9bbe1f5a37c (patch) | |
tree | 813755594b8f6ff9b0d809efce0f6c6a8ab6ae04 /test/py/test_dirty_pages.py | |
parent | 74e7348f253c04d43c11082c83f2a51720c7643e (diff) | |
download | libvfio-user-728da2b9e37bc507f910652bbe09b9bbe1f5a37c.zip libvfio-user-728da2b9e37bc507f910652bbe09b9bbe1f5a37c.tar.gz libvfio-user-728da2b9e37bc507f910652bbe09b9bbe1f5a37c.tar.bz2 |
Fix some python tests (#737)
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test/py/test_dirty_pages.py')
-rw-r--r-- | test/py/test_dirty_pages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/test_dirty_pages.py b/test/py/test_dirty_pages.py index 687a6ce..b3d4e34 100644 --- a/test/py/test_dirty_pages.py +++ b/test/py/test_dirty_pages.py @@ -309,7 +309,7 @@ def get_dirty_page_bitmap(): _, result = vfio_user_dirty_pages.pop_from_buffer(result) _, result = vfio_user_bitmap_range.pop_from_buffer(result) - assert(len(result) == 8) + assert len(result) == 8 return struct.unpack("Q", result)[0] |