File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -719,7 +719,9 @@ class Outputs(ShellOutputs):
719719 "x" ,
720720 "y" ,
721721 ]
722- assert sorted (a .name for a in attrs .fields (A .Outputs )) == [
722+ assert sorted (
723+ a .name for a in attrs .fields (A .Outputs ) if not a .name .startswith ("_" )
724+ ) == [
723725 "return_code" ,
724726 "stderr" ,
725727 "stdout" ,
Original file line number Diff line number Diff line change @@ -866,6 +866,7 @@ def combiner_validation(self):
866866 def prepare_states (
867867 self ,
868868 inputs : dict [str , ty .Any ],
869+ cont_dim : dict [str , int ] | None = None ,
869870 ):
870871 """
871872 Prepare a full list of state indices and state values.
@@ -881,6 +882,8 @@ def prepare_states(
881882 self .combiner_validation ()
882883 self .set_input_groups ()
883884 self .inputs = inputs
885+ if cont_dim is not None :
886+ self .cont_dim = cont_dim
884887 if self .other_states :
885888 st : State
886889 for nm , (st , _ ) in self .other_states .items ():
Original file line number Diff line number Diff line change @@ -2855,8 +2855,7 @@ def Worky2(x, y):
28552855 # checking if the second worky didn't run again
28562856 # checking all directories
28572857
2858- for odir in worky2 .output_dir :
2859- assert not odir .exists ()
2858+ assert results1 .output_dir == results2 .output_dir
28602859
28612860
28622861@pytest .mark .flaky (reruns = 3 )
You can’t perform that action at this time.
0 commit comments