diff --git a/tests/__init__.py b/tests/__init__.py index c8fe2c3..27e7da5 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,7 +2,6 @@ from pathlib import Path from typing import Any from unittest import TestCase -import warnings import numpy as np import shutil @@ -267,7 +266,4 @@ def load_table(fname: Path) -> np.array: Loads a GRAY output file as a structured numpy array (columns are named as in the file header) ''' - # ignore warnings about empty files - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - return np.genfromtxt(fname, names=True, skip_header=21, ndmin=1) + return np.genfromtxt(fname, names=True, skip_header=21, ndmin=1)