Merged revisions 79165 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79165 | florent.xicluna | 2010-03-21 03:14:24 +0200 (Sun, 21 Mar 2010) | 2 lines

  #7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
........
This commit is contained in:
Ezio Melotti 2010-08-02 19:56:05 +00:00
parent edabc7bca2
commit a65e2afe80
37 changed files with 306 additions and 195 deletions

View file

@ -1,6 +1,6 @@
# Augmented assignment test.
from test.test_support import run_unittest
from test.test_support import run_unittest, _check_py3k_warnings
import unittest
@ -321,7 +321,8 @@ __ilshift__ called
'''.splitlines())
def test_main():
run_unittest(AugAssignTest)
with _check_py3k_warnings(("classic int division", DeprecationWarning)):
run_unittest(AugAssignTest)
if __name__ == '__main__':
test_main()