diff --git a/tests/test_melodicanalysis.py b/tests/test_melodicanalysis.py index 907f3c3ba0c892d17206acb156aab830acefb283..9a8c251ac34dae1e8664614a5e9e5551db630c78 100644 --- a/tests/test_melodicanalysis.py +++ b/tests/test_melodicanalysis.py @@ -55,10 +55,10 @@ def test_isMelodicDir(): meldir = op.join(testdir, 'analysis.ica') assert mela.isMelodicDir(meldir) - # Directory must end in .ica + # non-.ica prefix is ok with tests.testdir([p.replace('.ica', '.blob') for p in paths]) as testdir: meldir = op.join(testdir, 'analysis.blob') - assert not mela.isMelodicDir(meldir) + assert mela.isMelodicDir(meldir) # Directory must exist! assert not mela.isMelodicDir('non-existent.ica')