divmod &c. Should probably be cleaned up properly so that the tests
don't call that.
import copy
import sys
+import warnings
# Fake a number that implements numeric methods through __coerce__
class CoerceNumber:
else:
print '=', x
+warnings.filterwarnings("ignore",
+ r'complex divmod\(\), // and % are deprecated',
+ DeprecationWarning,
+ r'test_coercion$')
do_infix_binops()
do_prefix_binops()
from test_support import verify, vereq, verbose, TestFailed, TESTFN
from copy import deepcopy
+import warnings
+
+warnings.filterwarnings("ignore",
+ r'complex divmod\(\), // and % are deprecated$',
+ DeprecationWarning, r'(<string>|test_descr)$')
def veris(a, b):
if a is not b: