From 2ce9890126332d89c4af46157b4793ca6dc12199 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 11 Oct 2018 13:49:05 +1300 Subject: [PATCH] python/tests/__init__: import what we need Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/tests/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/samba/tests/__init__.py b/python/samba/tests/__init__.py index ca278b5d1c7..7957a1ac2fa 100644 --- a/python/samba/tests/__init__.py +++ b/python/samba/tests/__init__.py @@ -20,22 +20,20 @@ import os import tempfile +import warnings import ldb import samba from samba import param from samba import credentials from samba.credentials import Credentials from samba import gensec -import socket -import struct import subprocess import sys -import tempfile import unittest import re import samba.auth import samba.dcerpc.base -from samba.compat import PY3, text_type +from samba.compat import text_type from samba.compat import string_types from random import randint from random import SystemRandom