1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

pytests: remove backwards compat workaround for python 2.6

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2022-09-16 11:36:28 +12:00 committed by Andrew Bartlett
parent 2775d6b5d1
commit 3c5cb27885

View File

@ -51,11 +51,8 @@ import samba.ndr
import samba.dcerpc.dcerpc
import samba.dcerpc.epmapper
try:
from unittest import SkipTest
except ImportError:
class SkipTest(Exception):
"""Test skipped."""
from unittest import SkipTest
BINDIR = os.path.abspath(os.path.join(os.path.dirname(__file__),
"../../../../bin"))