python: samba.tests: Move import of ported modules out of PY3 condition
[nivanova/samba-autobuild/.git] / python / samba / tests / __init__.py
index ba215ea9e849cf76df02805e439a12a413f8a2b8..21a55c24735d03231c09622e61887b70641f65b9 100644 (file)
@@ -30,14 +30,14 @@ import subprocess
 import sys
 import tempfile
 import unittest
+import samba.auth
+import samba.dcerpc.base
 from samba.compat import PY3
 if not PY3:
     # Py2 only
-    import samba.auth
     from samba.samdb import SamDB
     import samba.ndr
     import samba.dcerpc.dcerpc
-    import samba.dcerpc.base
     import samba.dcerpc.epmapper
     from samba import gensec