Skip to content

Commit

Permalink
Fix another bites in type annotation from python3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Dec 2, 2024
1 parent b230bb5 commit f57f664
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pineappl_py/tests/test_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit f57f664

Please sign in to comment.