Skip to content

Commit

Permalink
assert empty table
Browse files Browse the repository at this point in the history
  • Loading branch information
nbiederbeck committed Jul 15, 2022
1 parent e58fff8 commit 534e8e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ctapipe/io/tests/test_table_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,4 +388,5 @@ def test_read_empty_table(dl2_shower_geometry_file):
load_dl1_parameters=False,
load_dl2=True,
) as loader:
loader.read_telescope_events([6])
table = loader.read_telescope_events([6])
assert len(table) == 0

0 comments on commit 534e8e7

Please sign in to comment.