@@ -60,28 +60,28 @@ def test_sprite():
6060 obj .read ().image .save (io .BytesIO (), format = "PNG" )
6161
6262
63- def test_audioclip ():
64- # as not platforms are supported by FMOD
65- # we have to check if the platform is supported first
66- try :
67- from UnityPy .export import AudioClipConverter
68-
69- AudioClipConverter .import_pyfmodex ()
70- except NotImplementedError :
71- return
72- except OSError :
73- # cibuildwheel doesn't copy the .so files
74- # so we have to skip the test on it
75- print ("Failed to load the fmod lib for your system." )
76- print ("Skipping the audioclip test." )
77- return
78- if AudioClipConverter .pyfmodex is False :
79- return
80- env = UnityPy .load (os .path .join (SAMPLES , "char_118_yuki.ab" ))
81- for obj in env .objects :
82- if obj .type .name == "AudioClip" :
83- clip = obj .read ()
84- assert len (clip .samples ) == 1
63+ # def test_audioclip():
64+ # # as not platforms are supported by FMOD
65+ # # we have to check if the platform is supported first
66+ # try:
67+ # from UnityPy.export import AudioClipConverter
68+
69+ # AudioClipConverter.import_pyfmodex()
70+ # except NotImplementedError:
71+ # return
72+ # except OSError:
73+ # # cibuildwheel doesn't copy the .so files
74+ # # so we have to skip the test on it
75+ # print("Failed to load the fmod lib for your system.")
76+ # print("Skipping the audioclip test.")
77+ # return
78+ # if AudioClipConverter.pyfmodex is False:
79+ # return
80+ # env = UnityPy.load(os.path.join(SAMPLES, "char_118_yuki.ab"))
81+ # for obj in env.objects:
82+ # if obj.type.name == "AudioClip":
83+ # clip = obj.read()
84+ # assert len(clip.samples) == 1
8585
8686
8787def test_mesh ():
0 commit comments