Use the correct variable name
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 26 Aug 2007 22:16:55 +0000 (22:16 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 26 Aug 2007 22:16:55 +0000 (22:16 +0000)
Lib/test/test_ossaudiodev.py

index 66bc07c318c9d44f0d63537bd51a6bfd87dda991..8da22eb92b99e579e741c00819d920886dc7bd52 100644 (file)
@@ -88,7 +88,7 @@ class OSSAudioDevTests(unittest.TestCase):
         percent_diff = (abs(elapsed_time - expected_time) / expected_time) * 100
         self.failUnless(percent_diff <= 10.0,
                         "elapsed time (%s) > 10%% off of expected time (%s)" %
-                        (elapsed_time, expected))
+                        (elapsed_time, expected_time))
 
     def set_parameters(self, dsp):
         # Two configurations for testing: