From 5fef6f4f66aed7ee26173c7e5deac96de10de2ff Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 18 Feb 2016 11:30:39 -0600 Subject: [PATCH] Remove warnings filter for DeprecationWarning --- openmc/tallies.py | 3 --- openmc/trigger.py | 4 ---- openmc/universe.py | 3 --- 3 files changed, 10 deletions(-) diff --git a/openmc/tallies.py b/openmc/tallies.py index f471dbdf3..f938ae708 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -23,9 +23,6 @@ if sys.version_info[0] >= 3: basestring = str -# DeprecationWarning filter for the Tally.add_*(...) methods -warnings.simplefilter('always', DeprecationWarning) - # "Static" variable for auto-generated Tally IDs AUTO_TALLY_ID = 10000 diff --git a/openmc/trigger.py b/openmc/trigger.py index f03703328..ce7d432c2 100644 --- a/openmc/trigger.py +++ b/openmc/trigger.py @@ -9,10 +9,6 @@ if sys.version_info[0] >= 3: basestring = str -# DeprecationWarning filter for the Trigger.add_score(...) method -warnings.simplefilter('always', DeprecationWarning) - - class Trigger(object): """A criterion for when to finish a simulation based on tally uncertainties. diff --git a/openmc/universe.py b/openmc/universe.py index 74c438615..9a1effdde 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -16,9 +16,6 @@ if sys.version_info[0] >= 3: basestring = str -# DeprecationWarning filter for the Cell.add_surface(...) method -warnings.simplefilter('always', DeprecationWarning) - # A static variable for auto-generated Cell IDs AUTO_CELL_ID = 10000