Skip to content
Browse files

fix tests for python 2.6 compatibility

  • Loading branch information...
1 parent eb9f380 commit c9938a35be0b0e3879a95a67f6c1369360998f19 @jiaaro committed May 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test.py
View
2 test/test.py
@@ -219,7 +219,7 @@ def test_normalize(self):
normalized = seg.normalize(0.0)
self.assertEqual(len(normalized), len(seg))
- self.assertGreater(normalized.rms, seg.rms)
+ self.assertTrue(normalized.rms > seg.rms)
self.assertWithinTolerance(normalized.max, normalized.max_possible_amplitude, percentage=0.0001)
def test_for_accidental_shortening(self):

0 comments on commit c9938a3

Please sign in to comment.
Something went wrong with that request. Please try again.