Changeset 7827:942c121de382 in orange


Ignore:
Timestamp:
04/11/11 09:58:14 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
14f1e6673b9be2d2ed76d972f2c58b640cf3a663
Message:

Ignore deprecation warnings for regression tests (last commit was wrong).

Location:
testing/regressionTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testing/regressionTests/xtest.py

    r7826 r7827  
    1313pyversion = sys.version[:3] 
    1414states = ["OK", "changed", "random", "error", "crash"] 
    15  
    16 #ignore deprecation warnings 
    17 import warnings 
    18 warnings.simplefilter("ignore", DeprecationWarning) 
    1915 
    2016def file_name_match(name, patterns): 
  • testing/regressionTests/xtest_one.py

    r7351 r7827  
    33import string as t__string 
    44import os as t__os 
     5 
     6#ignore deprection warnings 
     7import warnings as t__warnings 
     8t__warnings.simplefilter("ignore", DeprecationWarning) 
    59 
    610NO_RANDOMNESS = 1 # prevent random parts of scripts to run 
Note: See TracChangeset for help on using the changeset viewer.