diff --git a/src/debugpy/__init__.py b/src/debugpy/__init__.py index baa5a7c5..350adce5 100644 --- a/src/debugpy/__init__.py +++ b/src/debugpy/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """An implementation of the Debug Adapter Protocol (DAP) for Python. https://microsoft.github.io/debug-adapter-protocol/ diff --git a/src/debugpy/__main__.py b/src/debugpy/__main__.py index 74f28ee7..9baf01d2 100644 --- a/src/debugpy/__main__.py +++ b/src/debugpy/__main__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import sys diff --git a/src/debugpy/_vendored/__init__.py b/src/debugpy/_vendored/__init__.py index abde2e33..daf9f909 100644 --- a/src/debugpy/_vendored/__init__.py +++ b/src/debugpy/_vendored/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import contextlib from importlib import import_module import os diff --git a/src/debugpy/_vendored/_pydevd_packaging.py b/src/debugpy/_vendored/_pydevd_packaging.py index dbc0c10f..87cffd3a 100644 --- a/src/debugpy/_vendored/_pydevd_packaging.py +++ b/src/debugpy/_vendored/_pydevd_packaging.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - from . import VENDORED_ROOT from ._util import cwd, iter_all_files diff --git a/src/debugpy/_vendored/_util.py b/src/debugpy/_vendored/_util.py index 1d7906f7..7eab5744 100644 --- a/src/debugpy/_vendored/_util.py +++ b/src/debugpy/_vendored/_util.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import contextlib import os diff --git a/src/debugpy/_vendored/force_pydevd.py b/src/debugpy/_vendored/force_pydevd.py index b7bc7469..1b9dd5db 100644 --- a/src/debugpy/_vendored/force_pydevd.py +++ b/src/debugpy/_vendored/force_pydevd.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - from importlib import import_module import os import warnings diff --git a/src/debugpy/_version.py b/src/debugpy/_version.py index 56b5d655..8479bc90 100644 --- a/src/debugpy/_version.py +++ b/src/debugpy/_version.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, print_function, unicode_literals - # This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build diff --git a/src/debugpy/adapter/__init__.py b/src/debugpy/adapter/__init__.py index f3a13508..720fc1f3 100644 --- a/src/debugpy/adapter/__init__.py +++ b/src/debugpy/adapter/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - __all__ = [] import os diff --git a/src/debugpy/adapter/__main__.py b/src/debugpy/adapter/__main__.py index 956be80c..4c9c831d 100644 --- a/src/debugpy/adapter/__main__.py +++ b/src/debugpy/adapter/__main__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import argparse import atexit import codecs diff --git a/src/debugpy/adapter/clients.py b/src/debugpy/adapter/clients.py index dac3d89f..d579ac61 100644 --- a/src/debugpy/adapter/clients.py +++ b/src/debugpy/adapter/clients.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import atexit import os import sys diff --git a/src/debugpy/adapter/components.py b/src/debugpy/adapter/components.py index b1bd967f..ba5415a7 100644 --- a/src/debugpy/adapter/components.py +++ b/src/debugpy/adapter/components.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import functools from debugpy.common import fmt, json, log, messaging, util diff --git a/src/debugpy/adapter/launchers.py b/src/debugpy/adapter/launchers.py index 4d3a6e44..1fff62dd 100644 --- a/src/debugpy/adapter/launchers.py +++ b/src/debugpy/adapter/launchers.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import subprocess import sys diff --git a/src/debugpy/adapter/servers.py b/src/debugpy/adapter/servers.py index 1285a0fb..418d5016 100644 --- a/src/debugpy/adapter/servers.py +++ b/src/debugpy/adapter/servers.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import subprocess import sys diff --git a/src/debugpy/adapter/sessions.py b/src/debugpy/adapter/sessions.py index 62a316a6..81c5c3d6 100644 --- a/src/debugpy/adapter/sessions.py +++ b/src/debugpy/adapter/sessions.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import itertools import os import signal diff --git a/src/debugpy/common/__init__.py b/src/debugpy/common/__init__.py index a58945dc..9e32307e 100644 --- a/src/debugpy/common/__init__.py +++ b/src/debugpy/common/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os diff --git a/src/debugpy/common/compat.py b/src/debugpy/common/compat.py index fd4953d3..d827f413 100644 --- a/src/debugpy/common/compat.py +++ b/src/debugpy/common/compat.py @@ -2,8 +2,6 @@ # # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Python 2/3 compatibility helpers. """ diff --git a/src/debugpy/common/fmt.py b/src/debugpy/common/fmt.py index b0db8d9c..1e5c2146 100644 --- a/src/debugpy/common/fmt.py +++ b/src/debugpy/common/fmt.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Provides a custom string.Formatter with JSON support. The formatter object is directly exposed as a module, such that all its members diff --git a/src/debugpy/common/json.py b/src/debugpy/common/json.py index ee774d19..e379f984 100644 --- a/src/debugpy/common/json.py +++ b/src/debugpy/common/json.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Improved JSON serialization. """ diff --git a/src/debugpy/common/log.py b/src/debugpy/common/log.py index 17c856da..3a50cf57 100644 --- a/src/debugpy/common/log.py +++ b/src/debugpy/common/log.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import atexit import contextlib import functools diff --git a/src/debugpy/common/messaging.py b/src/debugpy/common/messaging.py index 3073211c..c854e0ab 100644 --- a/src/debugpy/common/messaging.py +++ b/src/debugpy/common/messaging.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """An implementation of the session and presentation layers as used in the Debug Adapter Protocol (DAP): channels and their lifetime, JSON messages, requests, responses, and events. diff --git a/src/debugpy/common/modules.py b/src/debugpy/common/modules.py index 209cb9d1..fd052eb4 100644 --- a/src/debugpy/common/modules.py +++ b/src/debugpy/common/modules.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Provides facilities to use objects as modules, enabling __getattr__, __call__ etc on module level. """ diff --git a/src/debugpy/common/singleton.py b/src/debugpy/common/singleton.py index 72efdd9c..bc52026f 100644 --- a/src/debugpy/common/singleton.py +++ b/src/debugpy/common/singleton.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import functools import threading diff --git a/src/debugpy/common/sockets.py b/src/debugpy/common/sockets.py index 2a79e442..2e7da936 100644 --- a/src/debugpy/common/sockets.py +++ b/src/debugpy/common/sockets.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import socket import sys import threading diff --git a/src/debugpy/common/stacks.py b/src/debugpy/common/stacks.py index 8a10dc5b..58eee189 100644 --- a/src/debugpy/common/stacks.py +++ b/src/debugpy/common/stacks.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Provides facilities to dump all stacks of all threads in the process. """ diff --git a/src/debugpy/common/timestamp.py b/src/debugpy/common/timestamp.py index bfa67b05..1101362a 100644 --- a/src/debugpy/common/timestamp.py +++ b/src/debugpy/common/timestamp.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Provides monotonic timestamps with a resetable zero. """ diff --git a/src/debugpy/common/util.py b/src/debugpy/common/util.py index 6bc2788e..42332970 100644 --- a/src/debugpy/common/util.py +++ b/src/debugpy/common/util.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import sys diff --git a/src/debugpy/launcher/__init__.py b/src/debugpy/launcher/__init__.py index dc16b714..9f1636d4 100644 --- a/src/debugpy/launcher/__init__.py +++ b/src/debugpy/launcher/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - __all__ = [] import os diff --git a/src/debugpy/launcher/__main__.py b/src/debugpy/launcher/__main__.py index 65c60421..f8aed222 100644 --- a/src/debugpy/launcher/__main__.py +++ b/src/debugpy/launcher/__main__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - __all__ = ["main"] import locale diff --git a/src/debugpy/launcher/debuggee.py b/src/debugpy/launcher/debuggee.py index 864ac62b..f5d126c8 100644 --- a/src/debugpy/launcher/debuggee.py +++ b/src/debugpy/launcher/debuggee.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import atexit import ctypes import os diff --git a/src/debugpy/launcher/handlers.py b/src/debugpy/launcher/handlers.py index 8220bc64..30125206 100644 --- a/src/debugpy/launcher/handlers.py +++ b/src/debugpy/launcher/handlers.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import functools import os import sys diff --git a/src/debugpy/launcher/output.py b/src/debugpy/launcher/output.py index 07e3d5e6..94257a5b 100644 --- a/src/debugpy/launcher/output.py +++ b/src/debugpy/launcher/output.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import codecs import os import sys diff --git a/src/debugpy/launcher/winapi.py b/src/debugpy/launcher/winapi.py index 72adf889..a93dbc70 100644 --- a/src/debugpy/launcher/winapi.py +++ b/src/debugpy/launcher/winapi.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import ctypes from ctypes.wintypes import BOOL, DWORD, HANDLE, LARGE_INTEGER, LPCSTR, UINT diff --git a/src/debugpy/server/__init__.py b/src/debugpy/server/__init__.py index e6a1ad66..42d5367f 100644 --- a/src/debugpy/server/__init__.py +++ b/src/debugpy/server/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - # "force_pydevd" must be imported first to ensure (via side effects) # that the debugpy-vendored copy of pydevd gets used. import debugpy._vendored.force_pydevd # noqa diff --git a/src/debugpy/server/api.py b/src/debugpy/server/api.py index 3f52633a..3d193fdc 100644 --- a/src/debugpy/server/api.py +++ b/src/debugpy/server/api.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import codecs import json import os diff --git a/src/debugpy/server/attach_pid_injected.py b/src/debugpy/server/attach_pid_injected.py index e6345996..a8aeed27 100644 --- a/src/debugpy/server/attach_pid_injected.py +++ b/src/debugpy/server/attach_pid_injected.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Script injected into the debuggee process during attach-to-PID.""" import os diff --git a/src/debugpy/server/cli.py b/src/debugpy/server/cli.py index b073f91e..e74d435e 100644 --- a/src/debugpy/server/cli.py +++ b/src/debugpy/server/cli.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import json import os import re diff --git a/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py b/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py index 803fc4d7..163d1735 100644 --- a/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py +++ b/tests/DEBUGGEE_PYTHONPATH/debuggee/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Makes sure that the code is run under debugger, using the appropriate method to establish connection back to DebugSession in the test process, depending on DebugSession.start_method used by the test. diff --git a/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py b/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py index b67c33c0..9bcbc718 100644 --- a/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py +++ b/tests/DEBUGGEE_PYTHONPATH/debuggee/backchannel.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Imported from test code that runs under debugpy, and allows that code to communcate back to the test. Works in conjunction with debug_session fixture and its backchannel method.""" diff --git a/tests/__init__.py b/tests/__init__.py index 878fded4..13f999ff 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """debugpy tests """ diff --git a/tests/code.py b/tests/code.py index bae03c39..9adb6695 100644 --- a/tests/code.py +++ b/tests/code.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Helpers to work with Python code. """ diff --git a/tests/conftest.py b/tests/conftest.py index 4d144276..60c88645 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """pytest configuration. """ diff --git a/tests/debug/__init__.py b/tests/debug/__init__.py index d721c7b6..9127ce00 100644 --- a/tests/debug/__init__.py +++ b/tests/debug/__init__.py @@ -2,7 +2,5 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - # Expose Session directly. from tests.debug.session import Session # noqa diff --git a/tests/debug/comms.py b/tests/debug/comms.py index 55dc48c3..ea285ee0 100644 --- a/tests/debug/comms.py +++ b/tests/debug/comms.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Various means of communication with the debuggee.""" import threading diff --git a/tests/debug/config.py b/tests/debug/config.py index 10d866e9..fdf6b2d0 100644 --- a/tests/debug/config.py +++ b/tests/debug/config.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import sys diff --git a/tests/debug/output.py b/tests/debug/output.py index 2659c378..73b76fbb 100644 --- a/tests/debug/output.py +++ b/tests/debug/output.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import re import threading diff --git a/tests/debug/runners.py b/tests/debug/runners.py index 73c6553f..af6b8462 100644 --- a/tests/debug/runners.py +++ b/tests/debug/runners.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Runners are recipes for executing Targets in a debug.Session. Every function in this module that is decorated with @_runner must have at least two diff --git a/tests/debug/session.py b/tests/debug/session.py index 1183727f..165ec3fb 100644 --- a/tests/debug/session.py +++ b/tests/debug/session.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import collections import itertools import os diff --git a/tests/debug/targets.py b/tests/debug/targets.py index aeb7e81b..7e3623df 100644 --- a/tests/debug/targets.py +++ b/tests/debug/targets.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import py import os diff --git a/tests/debugpy/__init__.py b/tests/debugpy/__init__.py index 86166ae9..54e99a75 100644 --- a/tests/debugpy/__init__.py +++ b/tests/debugpy/__init__.py @@ -2,6 +2,4 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Product tests.""" diff --git a/tests/debugpy/adapter/__init__.py b/tests/debugpy/adapter/__init__.py index 58903273..124b3090 100644 --- a/tests/debugpy/adapter/__init__.py +++ b/tests/debugpy/adapter/__init__.py @@ -2,7 +2,5 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Tests for the debug adapter. """ diff --git a/tests/debugpy/common/__init__.py b/tests/debugpy/common/__init__.py index d2a95d30..9eecc3a0 100644 --- a/tests/debugpy/common/__init__.py +++ b/tests/debugpy/common/__init__.py @@ -2,7 +2,5 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Tests for product code that is shared between the adapter and the server. """ diff --git a/tests/debugpy/common/test_messaging.py b/tests/debugpy/common/test_messaging.py index a56488c7..43ab90c2 100644 --- a/tests/debugpy/common/test_messaging.py +++ b/tests/debugpy/common/test_messaging.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Tests for JSON message streams and channels. """ diff --git a/tests/debugpy/common/test_socket.py b/tests/debugpy/common/test_socket.py index 502bf847..b59db21d 100644 --- a/tests/debugpy/common/test_socket.py +++ b/tests/debugpy/common/test_socket.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/server/__init__.py b/tests/debugpy/server/__init__.py index c9cc9f31..e9f7c4d2 100644 --- a/tests/debugpy/server/__init__.py +++ b/tests/debugpy/server/__init__.py @@ -2,7 +2,5 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Tests for the debug server. """ diff --git a/tests/debugpy/server/test_cli.py b/tests/debugpy/server/test_cli.py index 531606af..da78ddf9 100644 --- a/tests/debugpy/server/test_cli.py +++ b/tests/debugpy/server/test_cli.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pickle import pytest import subprocess diff --git a/tests/debugpy/test_args.py b/tests/debugpy/test_args.py index 1e6a0629..1a918e0c 100644 --- a/tests/debugpy/test_args.py +++ b/tests/debugpy/test_args.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from debugpy.common import log diff --git a/tests/debugpy/test_attach.py b/tests/debugpy/test_attach.py index 759871db..346fdfb4 100644 --- a/tests/debugpy/test_attach.py +++ b/tests/debugpy/test_attach.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_breakpoints.py b/tests/debugpy/test_breakpoints.py index 6e3c3593..104ad0ed 100644 --- a/tests/debugpy/test_breakpoints.py +++ b/tests/debugpy/test_breakpoints.py @@ -3,8 +3,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import re import sys diff --git a/tests/debugpy/test_completions.py b/tests/debugpy/test_completions.py index 0c2c4d34..eca12d98 100644 --- a/tests/debugpy/test_completions.py +++ b/tests/debugpy/test_completions.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from debugpy.common import messaging diff --git a/tests/debugpy/test_disconnect.py b/tests/debugpy/test_disconnect.py index cb0425d1..74636ba2 100644 --- a/tests/debugpy/test_disconnect.py +++ b/tests/debugpy/test_disconnect.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import pytest diff --git a/tests/debugpy/test_django.py b/tests/debugpy/test_django.py index b8f14aaa..6758819b 100644 --- a/tests/debugpy/test_django.py +++ b/tests/debugpy/test_django.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from debugpy.common import compat diff --git a/tests/debugpy/test_docstrings.py b/tests/debugpy/test_docstrings.py index 5a9af15b..3c08635e 100644 --- a/tests/debugpy/test_docstrings.py +++ b/tests/debugpy/test_docstrings.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import inspect import debugpy diff --git a/tests/debugpy/test_env.py b/tests/debugpy/test_env.py index 09fc7919..678b3e56 100644 --- a/tests/debugpy/test_env.py +++ b/tests/debugpy/test_env.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import pytest import sys diff --git a/tests/debugpy/test_evaluate.py b/tests/debugpy/test_evaluate.py index 1e1b9359..d3b9f642 100644 --- a/tests/debugpy/test_evaluate.py +++ b/tests/debugpy/test_evaluate.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_exception.py b/tests/debugpy/test_exception.py index 70c00e93..8e309353 100644 --- a/tests/debugpy/test_exception.py +++ b/tests/debugpy/test_exception.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_exclude_rules.py b/tests/debugpy/test_exclude_rules.py index 41fb6d2f..2d022d55 100644 --- a/tests/debugpy/test_exclude_rules.py +++ b/tests/debugpy/test_exclude_rules.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import tests diff --git a/tests/debugpy/test_flask.py b/tests/debugpy/test_flask.py index b188031e..4217b02a 100644 --- a/tests/debugpy/test_flask.py +++ b/tests/debugpy/test_flask.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_gevent.py b/tests/debugpy/test_gevent.py index 52f7cb21..787683be 100644 --- a/tests/debugpy/test_gevent.py +++ b/tests/debugpy/test_gevent.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - from tests import debug from tests.patterns import some diff --git a/tests/debugpy/test_input.py b/tests/debugpy/test_input.py index ea985327..8b4ac5ac 100644 --- a/tests/debugpy/test_input.py +++ b/tests/debugpy/test_input.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from tests import debug diff --git a/tests/debugpy/test_justmycode.py b/tests/debugpy/test_justmycode.py index 6ebc3c3d..fe3aa545 100644 --- a/tests/debugpy/test_justmycode.py +++ b/tests/debugpy/test_justmycode.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from tests import debug diff --git a/tests/debugpy/test_log.py b/tests/debugpy/test_log.py index 6fcf1ee3..7429773d 100644 --- a/tests/debugpy/test_log.py +++ b/tests/debugpy/test_log.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import contextlib import pytest diff --git a/tests/debugpy/test_multiproc.py b/tests/debugpy/test_multiproc.py index 8ca2b6db..3f0e38ba 100644 --- a/tests/debugpy/test_multiproc.py +++ b/tests/debugpy/test_multiproc.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import psutil import pytest import sys diff --git a/tests/debugpy/test_output.py b/tests/debugpy/test_output.py index 3b5de697..403aab16 100644 --- a/tests/debugpy/test_output.py +++ b/tests/debugpy/test_output.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_path_mapping.py b/tests/debugpy/test_path_mapping.py index 6e15cfbb..168cdad7 100644 --- a/tests/debugpy/test_path_mapping.py +++ b/tests/debugpy/test_path_mapping.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import tests diff --git a/tests/debugpy/test_run.py b/tests/debugpy/test_run.py index a74de69b..1896e324 100644 --- a/tests/debugpy/test_run.py +++ b/tests/debugpy/test_run.py @@ -3,8 +3,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import pytest import re diff --git a/tests/debugpy/test_source_mapping.py b/tests/debugpy/test_source_mapping.py index bfb32339..25c0e77f 100644 --- a/tests/debugpy/test_source_mapping.py +++ b/tests/debugpy/test_source_mapping.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_step.py b/tests/debugpy/test_step.py index 6d973178..99064c05 100644 --- a/tests/debugpy/test_step.py +++ b/tests/debugpy/test_step.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from tests import debug diff --git a/tests/debugpy/test_stop_on_entry.py b/tests/debugpy/test_stop_on_entry.py index 7f55df5a..8d7c0790 100644 --- a/tests/debugpy/test_stop_on_entry.py +++ b/tests/debugpy/test_stop_on_entry.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from tests import debug diff --git a/tests/debugpy/test_system_info.py b/tests/debugpy/test_system_info.py index 138f0924..4a4de98b 100644 --- a/tests/debugpy/test_system_info.py +++ b/tests/debugpy/test_system_info.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/debugpy/test_threads.py b/tests/debugpy/test_threads.py index 5089e5f0..9ba49f4d 100644 --- a/tests/debugpy/test_threads.py +++ b/tests/debugpy/test_threads.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys import time diff --git a/tests/debugpy/test_tracing.py b/tests/debugpy/test_tracing.py index ea28bae6..fa57fd16 100644 --- a/tests/debugpy/test_tracing.py +++ b/tests/debugpy/test_tracing.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - from tests import debug from tests.patterns import some diff --git a/tests/debugpy/test_vs_specific.py b/tests/debugpy/test_vs_specific.py index 8ae44d55..3f5f2e1a 100644 --- a/tests/debugpy/test_vs_specific.py +++ b/tests/debugpy/test_vs_specific.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest from tests import debug diff --git a/tests/logs.py b/tests/logs.py index 66e79c2f..cacb2de3 100644 --- a/tests/logs.py +++ b/tests/logs.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import io import os import pytest_timeout diff --git a/tests/net.py b/tests/net.py index 082fc86a..c5d3d0df 100644 --- a/tests/net.py +++ b/tests/net.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Test helpers for networking. """ diff --git a/tests/patterns/__init__.py b/tests/patterns/__init__.py index 9c097be8..c0df1783 100644 --- a/tests/patterns/__init__.py +++ b/tests/patterns/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Do not import this package directly - import tests.patterns.some instead. """ diff --git a/tests/patterns/_impl.py b/tests/patterns/_impl.py index f7822f04..e09f26f3 100644 --- a/tests/patterns/_impl.py +++ b/tests/patterns/_impl.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - # The actual patterns are defined here, so that tests.patterns.some can redefine # builtin names like str, int etc without affecting the implementations in this # file - some.* then provides shorthand aliases. diff --git a/tests/patterns/dap.py b/tests/patterns/dap.py index 9b7ad0b4..a06e9c69 100644 --- a/tests/patterns/dap.py +++ b/tests/patterns/dap.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Patterns that are specific to the Debug Adapter Protocol. """ diff --git a/tests/patterns/some.py b/tests/patterns/some.py index 3820cbd3..06652bcd 100644 --- a/tests/patterns/some.py +++ b/tests/patterns/some.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Pattern matching for recursive Python data structures. Usage:: diff --git a/tests/pytest_fixtures.py b/tests/pytest_fixtures.py index 9accbace..fc9e5e06 100644 --- a/tests/pytest_fixtures.py +++ b/tests/pytest_fixtures.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import inspect import os import py diff --git a/tests/pytest_hooks.py b/tests/pytest_hooks.py index 16fe3f94..8a47db9c 100644 --- a/tests/pytest_hooks.py +++ b/tests/pytest_hooks.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import pytest import pytest_timeout diff --git a/tests/tests/__init__.py b/tests/tests/__init__.py index 243f28a1..a746fb92 100644 --- a/tests/tests/__init__.py +++ b/tests/tests/__init__.py @@ -2,7 +2,5 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """Tests for the testing infrastructure. """ diff --git a/tests/tests/test_patterns.py b/tests/tests/test_patterns.py index 96f59a87..07568862 100644 --- a/tests/tests/test_patterns.py +++ b/tests/tests/test_patterns.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import pytest import sys diff --git a/tests/tests/test_timeline.py b/tests/tests/test_timeline.py index 5769aef9..248f2c92 100644 --- a/tests/tests/test_timeline.py +++ b/tests/tests/test_timeline.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import collections import functools import itertools diff --git a/tests/tests/test_vendoring.py b/tests/tests/test_vendoring.py index dd6c4269..1c26a1fd 100644 --- a/tests/tests/test_vendoring.py +++ b/tests/tests/test_vendoring.py @@ -1,3 +1,7 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See LICENSE in the project root +# for license information. + def test_vendoring(pyfile): @pyfile def import_debugpy(): diff --git a/tests/timeline.py b/tests/timeline.py index 9d06cb23..70da1898 100644 --- a/tests/timeline.py +++ b/tests/timeline.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - import collections import contextlib import itertools diff --git a/tests/watchdog/__init__.py b/tests/watchdog/__init__.py index a1ae3e3f..810b9c85 100644 --- a/tests/watchdog/__init__.py +++ b/tests/watchdog/__init__.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """A watchdog process for debuggee processes spawned by tests. Interacts with the main test runner process over stdio, and keeps track of running diff --git a/tests/watchdog/worker.py b/tests/watchdog/worker.py index 5cfdae68..7ae185fc 100644 --- a/tests/watchdog/worker.py +++ b/tests/watchdog/worker.py @@ -2,8 +2,6 @@ # Licensed under the MIT License. See LICENSE in the project root # for license information. -from __future__ import absolute_import, division, print_function, unicode_literals - """The main script for the watchdog worker process. """