@pytest.mark.parametrize(('grid_type'), ALL_GRID_TYPES)
    def test_iadd(self, grid_type):
        g = self.grid[grid_type]
        h = deepcopy(g)
        g['density'] = []
        g['density'].append(self.density[grid_type])
        h['density'] = []
        h['density'].append(self.density[grid_type])
        g['density'][0].add(h['density'][0])
        if ['car', 'cyl', 'sph', 'oct'] in grid_type:
            assert np.all(g.quantities['density'][0] == self.density[grid_type] * 2.)
        elif grid_type in ['amr']:
            assert np.all(g.levels[0].grids[0].quantities['density'] == self.density[grid_type].levels[0].grids[0].quantities['density'] * 2)
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/tests/test_views.py/TestView.test_iadd/swapped operands of `in`