aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_vfu_create_ctx.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_vfu_create_ctx.py')
-rw-r--r--test/py/test_vfu_create_ctx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/test_vfu_create_ctx.py b/test/py/test_vfu_create_ctx.py
index cb1448f..720a3fa 100644
--- a/test/py/test_vfu_create_ctx.py
+++ b/test/py/test_vfu_create_ctx.py
@@ -33,7 +33,7 @@ import errno
def test_vfu_create_ctx_bad_trans():
- ctx = vfu_create_ctx(trans=VFU_TRANS_SOCK + 1)
+ ctx = vfu_create_ctx(trans=VFU_TRANS_MAX)
assert ctx is None
assert c.get_errno() == errno.ENOTSUP