@@ -514,12 +514,12 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
514
514
"-f" ,
515
515
Path (elaborate_args_file ).name ,
516
516
],
517
- cwd = str ( Path (elaborate_args_file ).parent ) ,
517
+ cwd = Path (elaborate_args_file ).parent ,
518
518
env = simif .get_env (),
519
519
),
520
520
mock .call (
521
521
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
522
- cwd = str ( Path (simulate_args_file ).parent ) ,
522
+ cwd = Path (simulate_args_file ).parent ,
523
523
env = simif .get_env (),
524
524
),
525
525
]
@@ -602,12 +602,12 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
602
602
"-f" ,
603
603
Path (elaborate_args_file ).name ,
604
604
],
605
- cwd = str ( Path (elaborate_args_file ).parent ) ,
605
+ cwd = Path (elaborate_args_file ).parent ,
606
606
env = simif .get_env (),
607
607
),
608
608
mock .call (
609
609
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
610
- cwd = str ( Path (simulate_args_file ).parent ) ,
610
+ cwd = Path (simulate_args_file ).parent ,
611
611
env = simif .get_env (),
612
612
),
613
613
]
@@ -681,12 +681,12 @@ def test_simulate_extra_flags(self, run_command, find_cds_root_irun, find_cds_ro
681
681
"-f" ,
682
682
Path (elaborate_args_file ).name ,
683
683
],
684
- cwd = str ( Path (elaborate_args_file ).parent ) ,
684
+ cwd = Path (elaborate_args_file ).parent ,
685
685
env = simif .get_env (),
686
686
),
687
687
mock .call (
688
688
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
689
- cwd = str ( Path (simulate_args_file ).parent ) ,
689
+ cwd = Path (simulate_args_file ).parent ,
690
690
env = simif .get_env (),
691
691
),
692
692
]
@@ -719,12 +719,12 @@ def test_simulate_generics_and_parameters(self, run_command, find_cds_root_irun,
719
719
"-f" ,
720
720
Path (elaborate_args_file ).name ,
721
721
],
722
- cwd = str ( Path (elaborate_args_file ).parent ) ,
722
+ cwd = Path (elaborate_args_file ).parent ,
723
723
env = simif .get_env (),
724
724
),
725
725
mock .call (
726
726
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
727
- cwd = str ( Path (simulate_args_file ).parent ) ,
727
+ cwd = Path (simulate_args_file ).parent ,
728
728
env = simif .get_env (),
729
729
),
730
730
]
@@ -755,12 +755,12 @@ def test_simulate_hdlvar(self, run_command, find_cds_root_irun, find_cds_root_vi
755
755
"-f" ,
756
756
Path (elaborate_args_file ).name ,
757
757
],
758
- cwd = str ( Path (elaborate_args_file ).parent ) ,
758
+ cwd = Path (elaborate_args_file ).parent ,
759
759
env = simif .get_env (),
760
760
),
761
761
mock .call (
762
762
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
763
- cwd = str ( Path (simulate_args_file ).parent ) ,
763
+ cwd = Path (simulate_args_file ).parent ,
764
764
env = simif .get_env (),
765
765
),
766
766
]
@@ -788,7 +788,7 @@ def test_elaborate(self, run_command, find_cds_root_irun, find_cds_root_virtuoso
788
788
"-f" ,
789
789
Path (elaborate_args_file ).name ,
790
790
],
791
- cwd = str ( Path (elaborate_args_file ).parent ) ,
791
+ cwd = Path (elaborate_args_file ).parent ,
792
792
env = simif .get_env (),
793
793
)
794
794
]
@@ -836,7 +836,7 @@ def test_elaborate_fail(self, run_command, find_cds_root_irun, find_cds_root_vir
836
836
"-f" ,
837
837
Path (elaborate_args_file ).name ,
838
838
],
839
- cwd = str ( Path (elaborate_args_file ).parent ) ,
839
+ cwd = Path (elaborate_args_file ).parent ,
840
840
env = simif .get_env (),
841
841
)
842
842
]
@@ -861,12 +861,12 @@ def test_simulate_fail(self, run_command, find_cds_root_irun, find_cds_root_virt
861
861
"-f" ,
862
862
Path (elaborate_args_file ).name ,
863
863
],
864
- cwd = str ( Path (elaborate_args_file ).parent ) ,
864
+ cwd = Path (elaborate_args_file ).parent ,
865
865
env = simif .get_env (),
866
866
),
867
867
mock .call (
868
868
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
869
- cwd = str ( Path (simulate_args_file ).parent ) ,
869
+ cwd = Path (simulate_args_file ).parent ,
870
870
env = simif .get_env (),
871
871
),
872
872
]
@@ -899,12 +899,12 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
899
899
"-f" ,
900
900
Path (elaborate_args_file ).name ,
901
901
],
902
- cwd = str ( Path (elaborate_args_file ).parent ) ,
902
+ cwd = Path (elaborate_args_file ).parent ,
903
903
env = simif .get_env (),
904
904
),
905
905
mock .call (
906
906
[str (Path ("prefix" ) / "irun" ), "-f" , Path (simulate_args_file ).name ],
907
- cwd = str ( Path (simulate_args_file ).parent ) ,
907
+ cwd = Path (simulate_args_file ).parent ,
908
908
env = simif .get_env (),
909
909
),
910
910
]
@@ -974,7 +974,7 @@ def test_configuration_and_entity_selection(self, find_cds_root_irun, find_cds_r
974
974
self .assertEqual (simif ._select_vhdl_top (config ), "lib.tb_entity:arch" ) # pylint: disable=protected-access
975
975
976
976
def setUp (self ):
977
- self .output_path = str ( Path (__file__ ).parent / "test_incisive_out" )
977
+ self .output_path = Path (__file__ ).parent / "test_incisive_out"
978
978
renew_path (self .output_path )
979
979
self .project = Project ()
980
980
self .cwd = os .getcwd ()
0 commit comments