mirror of https://github.com/python/cpython
remove 2.x specific warnings
This commit is contained in:
parent
106274b430
commit
91799ae3e1
|
@ -5,10 +5,6 @@ import sys
|
|||
import pickle
|
||||
import itertools
|
||||
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", "integer argument expected",
|
||||
DeprecationWarning, "unittest")
|
||||
|
||||
# pure Python implementations (3 args only), for comparison
|
||||
def pyrange(start, stop, step):
|
||||
if (start - stop) // step < 0:
|
||||
|
|
Loading…
Reference in New Issue