Changeset 7844


Ignore:
Timestamp:
Jun 15, 2010, 10:47:44 PM (14 years ago)
Author:
steve
Message:

Getting rid of warning messages from test_all.py

Location:
trunk/anuga_core/source/anuga/shallow_water
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/shallow_water

    • Property svn:ignore set to
      .python_cache
  • trunk/anuga_core/source/anuga/shallow_water/test_forcing.py

    r7814 r7844  
    1010
    1111import numpy as num
     12import warnings
    1213
    1314
     
    681682        """
    682683
     684        import warnings
     685        warnings.simplefilter('ignore', UserWarning)
     686
     687
    683688        a = [0.0, 0.0]
    684689        b = [0.0, 2.0]
     
    748753
    749754        # FIXME(Ole): This test is just to experiment
     755        import warnings
     756        warnings.simplefilter('ignore', UserWarning)
     757
    750758
    751759        a = [0.0, 0.0]
     
    803811        This test checks that proper exception is thrown when no default_rate is set
    804812        """
     813
     814        import warnings
     815        warnings.simplefilter('ignore', UserWarning)
    805816
    806817
Note: See TracChangeset for help on using the changeset viewer.