import pytest

@pytest.mark.xfail
def test_missing_file(audiomgr):
    sound = audiomgr.get_sound('/not/a/valid/file.ogg')
    assert sound is None

import pytest

def test_missing_file(audiomgr):
    sound = audiomgr.get_sound('/not/a/valid/file.ogg')
    assert str(sound).startswith('NullAudioSound')

Update audio test to recognize missing sounds as NullAudioSound
tests: Update audio test to recognize missing sounds as NullAudioSound

  import pytest
  
- @pytest.mark.xfail
  def test_missing_file(audiomgr):
      sound = audiomgr.get_sound('/not/a/valid/file.ogg')
-     assert sound is None
+     assert str(sound).startswith('NullAudioSound')
  
Update audio test to recognize missing sounds as NullAudioSound
## Code Before:
import pytest

@pytest.mark.xfail
def test_missing_file(audiomgr):
    sound = audiomgr.get_sound('/not/a/valid/file.ogg')
    assert sound is None

## Instruction:
Update audio test to recognize missing sounds as NullAudioSound
## Code After:
import pytest

def test_missing_file(audiomgr):
    sound = audiomgr.get_sound('/not/a/valid/file.ogg')
    assert str(sound).startswith('NullAudioSound')
