From f57f66454d730b1f89a7edb0790b46be33213a87 Mon Sep 17 00:00:00 2001 From: Radonirinaunimi Date: Mon, 2 Dec 2024 01:40:14 +0100 Subject: [PATCH] Fix another bites in type annotation from `python3.7` --- pineappl_py/tests/test_grid.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pineappl_py/tests/test_grid.py b/pineappl_py/tests/test_grid.py index baf64023..bb802b35 100644 --- a/pineappl_py/tests/test_grid.py +++ b/pineappl_py/tests/test_grid.py @@ -5,6 +5,7 @@ from numpy.random import Generator, PCG64 +from typing import List from pineappl.bin import BinRemapper from pineappl.boc import Channel, Kinematics, Scales, Order from pineappl.convolutions import Conv, ConvType @@ -227,7 +228,7 @@ def test_delete_orders( self, download_objects, gridname: str = "GRID_STAR_WMWP_510GEV_WP-AL-POL.pineappl.lz4", - order_indices: list[int] = [1], + order_indices: List[int] = [1], ): grid = download_objects(f"{gridname}") g = Grid.read(grid) @@ -240,7 +241,7 @@ def test_delete_channels( self, download_objects, gridname: str = "GRID_STAR_WMWP_510GEV_WP-AL-POL.pineappl.lz4", - channel_indices: list[int] = [1, 4, 5], + channel_indices: List[int] = [1, 4, 5], ): grid = download_objects(f"{gridname}") g = Grid.read(grid)