Skip to content

Commit

Permalink
add filter to show deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 17, 2025
1 parent dfb00d7 commit e5040a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rosys/rosys.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import signal
import threading
import time as pytime
import warnings
from collections.abc import Awaitable, Callable
from dataclasses import dataclass
from typing import Any, ClassVar, Literal
Expand All @@ -21,6 +22,8 @@
from .helpers import is_test as is_test_
from .persistence.registry import backup, restore, sync_backup

warnings.filterwarnings('once', category=DeprecationWarning, module='rosys')

log = logging.getLogger('rosys.core')

config = Config()
Expand Down

0 comments on commit e5040a4

Please sign in to comment.