Skip to content

Commit

Permalink
wavefileTest: the file that was supposed to not exist existed indeed
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Mar 7, 2016
1 parent 955b2b8 commit e93f3d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/wavefileTest.py
Expand Up @@ -88,14 +88,12 @@ def fourSinusoids(self, samples=400) :
)

def test_reader_withMissingFile(self) :
# TODO: Check why the received error has changed
try :
r = wavefile.WaveReader("notexisting.wav")
self.fail("Exception expected")
except IOError as e :
self.assertEqual( (
# "Error opening 'notexisting.wav': System error.",
"Error opening 'notexisting.wav': File contains data in an unknown format.",
"Error opening 'notexisting.wav': System error.",
), e.args)

def test_reader_withWrongfile(self) :
Expand Down

0 comments on commit e93f3d7

Please sign in to comment.