1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00

python compat: remove integer_types

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
Douglas Bagnall
2020-07-04 13:44:52 +12:00
committed by Noel Power
parent 32eb7f3966
commit 323073f4e0
3 changed files with 2 additions and 5 deletions

View File

@@ -26,7 +26,6 @@ from samba.ndr import ndr_print
from samba.dcerpc import server_id
import random
import os
from samba.compat import integer_types
class MessagingTests(TestCase):
@@ -41,7 +40,7 @@ class MessagingTests(TestCase):
def callback():
pass
msg_type = x.register((callback, None))
self.assertTrue(isinstance(msg_type, integer_types))
self.assertTrue(isinstance(msg_type, int))
x.deregister(callback, msg_type)
def test_all_servers(self):