/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pywrap/test_pcilib.py

  • Committer: Vasilii Chernov
  • Date: 2016-03-04 08:31:42 UTC
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: vchernov@inr.ru-20160304083142-5zad1xvhs91ot1j1
Fix python3 initialization from pcilib_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
   def testMemoryLeak(self):
83
83
      try:
84
84
         while(1):
85
 
            val = long(random.randint(0, 8096))
 
85
            val = random.randint(0, 8096)
86
86
            self.pcilib = pcilib.pcilib(self.device, self.model)
87
87
            print(self.pcilib.get_property_list(self.branch))
88
88
            print(self.pcilib.get_register_info(self.register))