From b83970e7bfa3d688f214f633fd36ead0631ddc41 Mon Sep 17 00:00:00 2001 From: ksagiyam Date: Fri, 7 Jun 2024 17:15:43 +0100 Subject: [PATCH] checkpointing: remove warning for now --- firedrake/checkpointing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firedrake/checkpointing.py b/firedrake/checkpointing.py index 992c4c644d..c881383b8b 100644 --- a/firedrake/checkpointing.py +++ b/firedrake/checkpointing.py @@ -98,10 +98,10 @@ class DumbCheckpoint(object): def __init__(self, basename, single_file=True, mode=FILE_UPDATE, comm=None): import warnings - with warnings.catch_warnings(): - warnings.simplefilter('always', DeprecationWarning) - warnings.warn("DumbCheckpoint class will soon be deprecated; use CheckpointFile class instead.", - DeprecationWarning) + #with warnings.catch_warnings(): + # warnings.simplefilter('always', DeprecationWarning) + # warnings.warn("DumbCheckpoint class will soon be deprecated; use CheckpointFile class instead.", + # DeprecationWarning) self.comm = comm or COMM_WORLD self._comm = internal_comm(self.comm, self) self.mode = mode