/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: Suren A. Chilingaryan
  • Date: 2016-03-04 18:30:43 UTC
  • mfrom: (346.1.39 pcitool)
  • Revision ID: csa@suren.me-20160304183043-mjf6xvyermjh5olg
Integrate last part of Python code from Vasiliy Chernov

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))