diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-03-04 09:31:42 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-03-04 09:31:42 +0100 |
commit | 4b4dc3c70ef19a29386c2b3e8284687851094eb9 (patch) | |
tree | 6707163e750021b8ba1a9e87449b76032e51fd00 /pywrap/test_pcilib.py | |
parent | c79d43273769d88f7129a3d53c80b85a6dc1946c (diff) | |
download | pcitool-4b4dc3c70ef19a29386c2b3e8284687851094eb9.tar.gz pcitool-4b4dc3c70ef19a29386c2b3e8284687851094eb9.tar.bz2 pcitool-4b4dc3c70ef19a29386c2b3e8284687851094eb9.tar.xz pcitool-4b4dc3c70ef19a29386c2b3e8284687851094eb9.zip |
Fix python3 initialization from pcilib_t
Diffstat (limited to 'pywrap/test_pcilib.py')
-rw-r--r-- | pywrap/test_pcilib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrap/test_pcilib.py b/pywrap/test_pcilib.py index 398d975..74eee4a 100644 --- a/pywrap/test_pcilib.py +++ b/pywrap/test_pcilib.py @@ -82,7 +82,7 @@ class test_pcilib(): def testMemoryLeak(self): try: while(1): - val = long(random.randint(0, 8096)) + val = random.randint(0, 8096) self.pcilib = pcilib.pcilib(self.device, self.model) print(self.pcilib.get_property_list(self.branch)) print(self.pcilib.get_register_info(self.register)) |