@@ -212,7 +212,7 @@ def test_temp_file_creation(self):
212212 self .assertFalse (os .path .isfile (filename ))
213213
214214 def test_fingerprint_with_filename (self ):
215- filename = axl_filename ("test_outputs/ test_fingerprint.csv" )
215+ filename = axl_filename ("test_outputs" , " test_fingerprint.csv" )
216216 af = AshlockFingerprint (axl .TitForTat )
217217 af .fingerprint (
218218 turns = 1 , repetitions = 1 , step = 0.5 , progress_bar = False , filename = filename
@@ -426,7 +426,7 @@ def test_init_with_not_default_number(self):
426426 )
427427
428428 def test_fingerprint_with_filename (self ):
429- filename = axl_filename ("test_outputs/ test_fingerprint.csv" )
429+ filename = axl_filename ("test_outputs" , " test_fingerprint.csv" )
430430 strategy = axl .TitForTat ()
431431 tf = TransitiveFingerprint (strategy )
432432 tf .fingerprint (turns = 1 , repetitions = 1 , progress_bar = False , filename = filename )
@@ -440,7 +440,7 @@ def test_serial_fingerprint(self):
440440 tf .fingerprint (
441441 repetitions = 1 ,
442442 progress_bar = False ,
443- filename = axl_filename ("test_outputs/ tran_fin.csv" ),
443+ filename = axl_filename ("test_outputs" , " tran_fin.csv" ),
444444 )
445445 self .assertEqual (tf .data .shape , (50 , 50 ))
446446
@@ -453,7 +453,7 @@ def test_parallel_fingerprint(self):
453453
454454 def test_analyse_cooperation_ratio (self ):
455455 tf = TransitiveFingerprint (axl .TitForTat )
456- filename = axl_filename ("test_outputs/ test_fingerprint.csv" )
456+ filename = axl_filename ("test_outputs" , " test_fingerprint.csv" )
457457 with open (filename , "w" ) as f :
458458 f .write (
459459 """Interaction index,Player index,Opponent index,Repetition,Player name,Opponent name,Actions
0 commit comments