summaryrefslogtreecommitdiffstats
path: root/pywrap/test_pcilib.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywrap/test_pcilib.py')
-rw-r--r--pywrap/test_pcilib.py2
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))