diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-02-20 22:31:25 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-02-20 22:31:25 +0000 |
commit | 051165fb4557b67a1f50e81ad8cfb99efeeb0641 (patch) | |
tree | 01d6eec23902c1f0096f1dd8fef112810c72a1f7 /numpy/lib/tests/test_function_base.py | |
parent | 8f2413a2e2ac19e699c9fd6a0344fcb845abc1d2 (diff) | |
download | numpy-051165fb4557b67a1f50e81ad8cfb99efeeb0641.tar.gz |
DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittest
module. The fix should be good for Python >= 2.4 and used the following sed script:
s/\<failUnless\>/assertTrue/g
s/\<failIf\>/assertFalse/g
s/\<failUnlessEqual\>/assertEqual/g
s/\<failUnlessRaises\>/assertRaises/g
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions