Remove PY2 warning
@@ -811,18 +811,3 @@ def show_config():
"""Prints the current runtime configuration to standard output."""
sys.stdout.write(str(_cupyx.get_runtime_info()))
sys.stdout.flush()
-
-
-# -----------------------------------------------------------------------------
-# Warning for Python 2 users
-# -----------------------------------------------------------------------------
-if sys.version_info[:1] == (2,):
- warnings.warn('''
---------------------------------------------------------------------------------
-CuPy is going to stop supporting Python 2 in v7.x releases.
-
-Future releases of CuPy v7.x will not run on Python 2.
-If you need to continue using Python 2, consider using CuPy v6.x, which
-will be the last version that runs on Python 2.
---------------------------------------------------------------------------------
-''') # NOQA
