summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/common/test_Glusterfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/common/test_Glusterfs.py b/test/unit/common/test_Glusterfs.py
index 7de060a..3ff78ca 100644
--- a/test/unit/common/test_Glusterfs.py
+++ b/test/unit/common/test_Glusterfs.py
@@ -28,7 +28,7 @@ def mock_os_system(cmd):
return False
def mock_fcntl_lockf(f, *a, **kw):
- raise IOError(errno.EAGAIN)
+ raise IOError(errno.EAGAIN, os.strerror(errno.EAGAIN))
def _init():
global _RUN_DIR, _OS_SYSTEM, _FCNTL_LOCKF