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:
committed by
Noel Power
parent
32eb7f3966
commit
323073f4e0
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user