Changeset 5636

Show
Ignore:
Timestamp:
08/05/12 09:28:35 (7 years ago)
Author:
justinc
Message:

fixing Deprecation warnings that break the seash unit tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/repy/safe.py

    r4458 r5636  
    7070import repy_constants # This is to get our start-up directory 
    7171import safety_exceptions # This is for exception classes shared with tracebackrepy 
    72 import compiler 
     72 
     73# Hide the DeprecationWarning for compiler 
     74import warnings 
     75warnings.simplefilter('ignore') 
     76import compiler     # Required for the code safety check 
     77warnings.resetwarnings() 
     78 
    7379import platform # This is for detecting Nokia tablets 
    7480import __builtin__