diff --git a/test/testcrypt.py b/test/testcrypt.py index 42da9d89..ab1e485d 100644 --- a/test/testcrypt.py +++ b/test/testcrypt.py @@ -182,7 +182,7 @@ def make_retval(rettype, word, unpack_strings): assert word == b"true" or word == b"false" return word == b"true" raise TypeError("Can't deal with return value {!r} of type {!r}" - .format(rettype, word)) + .format(word, rettype)) def make_retvals(rettypes, retwords, unpack_strings=True): assert len(rettypes) == len(retwords) # FIXME: better exception