File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,23 @@ def test_load_object(self):
5858 "house_lo.ogg" ,
5959 "house_lo.wav" ,
6060 "house_lo.mp3" ,
61+ ]
62+ data_fname = example_path ("data" )
63+ for file in filenames :
64+ path = os .path .join (data_fname , file )
65+ if os .sep == "\\ " :
66+ path = path .replace ("\\ " , "\\ \\ " )
67+ bmusfn = path .encode ()
68+
69+ with open (bmusfn , "rb" ) as musf :
70+ pygame .mixer .music .load (musf )
71+
72+ @unittest .skipIf (platform .system () == "Linux" , "fails on Linux for some reason." )
73+ def test_load_object_xm (self ):
74+ """Duplicate of test_load_object so loading xm can be individually expected-failed.
75+ TODO: fix this behavior on Linux.
76+ """
77+ filenames = [
6178 "surfonasinewave.xm" ,
6279 ]
6380 data_fname = example_path ("data" )
You can’t perform that action at this time.
0 commit comments