Skip to content

Commit

Permalink
fix tests after renaming invert to invert_phase
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaaro committed Feb 23, 2015
1 parent 98e4e6e commit 2fa4062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,10 @@ def test_zero_length_segment(self):

def test_invert(self):
s = Sine(100).to_audio_segment()
s_inv = s.invert()
s_inv = s.invert_phase()
self.assertFalse(s == s_inv)
self.assertTrue(s.rms == s_inv.rms)
self.assertTrue(s == s_inv.invert())
self.assertTrue(s == s_inv.invert_phase())


class SilenceTests(unittest.TestCase):
Expand Down

0 comments on commit 2fa4062

Please sign in to comment.