From 813669f911d362b12daed634324453df0d6917b0 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 25 Jul 2006 17:34:36 +0000 Subject: [PATCH] Fix a bug in the messages for an assert failure where not enough arguments to a string were being converted in the format. --- Lib/test/test_ossaudiodev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_ossaudiodev.py b/Lib/test/test_ossaudiodev.py index d2f63ae4d3a..5868ea7f1e9 100644 --- a/Lib/test/test_ossaudiodev.py +++ b/Lib/test/test_ossaudiodev.py @@ -115,10 +115,10 @@ def test_setparameters(dsp): # either strict or non-strict mode. result = dsp.setparameters(fmt, channels, rate, False) _assert(result == (fmt, channels, rate), - "setparameters%r: returned %r" % (config + result)) + "setparameters%r: returned %r" % (config, result)) result = dsp.setparameters(fmt, channels, rate, True) _assert(result == (fmt, channels, rate), - "setparameters%r: returned %r" % (config + result)) + "setparameters%r: returned %r" % (config, result)) def test_bad_setparameters(dsp):