Skip to content

Commit

Permalink
Fix type annotations for python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Oct 18, 2024
1 parent f5f46d6 commit cfc1edf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 141 deletions.
6 changes: 3 additions & 3 deletions pineappl_py/tests/test_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
class TestFkTable:
def fake_grid(
self,
channels: list[Channel],
orders: list[Order],
convolutions: list[Conv],
channels: list(Channel),
orders: list(Order),
convolutions: list(Conv),
bins=None,
) -> Grid:
kinematics = [
Expand Down
6 changes: 3 additions & 3 deletions pineappl_py/tests/test_fk_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
class TestFkTable:
def fake_grid(
self,
channels: list[Channel],
orders: list[Order],
convolutions: list[Conv],
channels: list(Channel),
orders: list(Order),
convolutions: list(Conv),
bins=None,
) -> Grid:
kinematics = [
Expand Down
4 changes: 2 additions & 2 deletions pineappl_py/tests/test_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
class TestGrid:
def fake_grid(
self,
channels: list[Channel] = CHANNELS,
orders: list[Order] = ORDERS,
channels: list(Channel) = CHANNELS,
orders: list(Order) = ORDERS,
bins: list | None = None,
) -> Grid:
# We assume symmetrical proton-proton in the initial state
Expand Down
133 changes: 0 additions & 133 deletions pineappl_py/tests/test_subgrid.py

This file was deleted.

0 comments on commit cfc1edf

Please sign in to comment.