def test_subregion_unary_result_shape(self):
        bound = Bounds(
                10, 18, 
                100, 108, 
                dt.datetime(2000, 1, 1), dt.datetime(2000, 3, 1))

        new_eval = Evaluation(
            self.test_dataset,
            [self.another_test_dataset, self.another_test_dataset],
            [TemporalStdDev(), TemporalStdDev()],
            [bound, bound, bound, bound, bound]
        )
        new_eval.run()

        # Expected result shape is
        # [
        #       [   # Subregions cause this extra layer
        #           [3, temporalstddev.run(reference).shape],
        #       ]
        # ]
        self.assertTrue(len(new_eval.unary_results) == 5)  # number of subregions
        self.assertTrue(len(new_eval.unary_results[0]) == 2) # number of metrics
        self.assertTrue(type(new_eval.unary_results) is type([]))
        self.assertTrue(new_eval.unary_results[0][0].shape[0] == 3) # number of datasets (ref + target)
dataset/ETHPy150Open apache/climate/ocw/tests/test_evaluation.py/TestEvaluation.test_subregion_unary_result_shape/operator `==` -> `is`