From 6415e0136bd7b1a532bbcc4ec9e4ab2469784859 Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Sun, 11 Feb 2024 13:15:36 +0100 Subject: [PATCH] Fix test --- carculator_truck/inventory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/carculator_truck/inventory.py b/carculator_truck/inventory.py index d546a94..0f0fe25 100644 --- a/carculator_truck/inventory.py +++ b/carculator_truck/inventory.py @@ -1,13 +1,14 @@ """ inventory.py contains Inventory which provides all methods to solve inventories. """ +import warnings import numpy as np from carculator_utils.inventory import Inventory from . import DATA_DIR -np.warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning) +warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning) IAM_FILES_DIR = DATA_DIR / "IAM"