Skip to content

Commit f57f664

Browse files
Fix another bites in type annotation from python3.7
1 parent b230bb5 commit f57f664

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pineappl_py/tests/test_grid.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from numpy.random import Generator, PCG64
77

8+
from typing import List
89
from pineappl.bin import BinRemapper
910
from pineappl.boc import Channel, Kinematics, Scales, Order
1011
from pineappl.convolutions import Conv, ConvType
@@ -227,7 +228,7 @@ def test_delete_orders(
227228
self,
228229
download_objects,
229230
gridname: str = "GRID_STAR_WMWP_510GEV_WP-AL-POL.pineappl.lz4",
230-
order_indices: list[int] = [1],
231+
order_indices: List[int] = [1],
231232
):
232233
grid = download_objects(f"{gridname}")
233234
g = Grid.read(grid)
@@ -240,7 +241,7 @@ def test_delete_channels(
240241
self,
241242
download_objects,
242243
gridname: str = "GRID_STAR_WMWP_510GEV_WP-AL-POL.pineappl.lz4",
243-
channel_indices: list[int] = [1, 4, 5],
244+
channel_indices: List[int] = [1, 4, 5],
244245
):
245246
grid = download_objects(f"{gridname}")
246247
g = Grid.read(grid)

0 commit comments

Comments
 (0)