VirtualBox

Ignore:
Timestamp:
Nov 24, 2022 11:46:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154728
Message:

Validation Kit: Fixed lots of warnings, based on pylint 2.12.2.

Location:
trunk/src/VBox/ValidationKit/tests/additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r97593 r97673  
    152152                          % (uuid.uuid4(), self.sVBoxValidationKitIso, sGaIso);
    153153            reporter.log2('Using VISO combining ValKit and GAs "%s": %s' % (sVisoContent, sGaViso));
    154             with open(sGaViso, 'w') as oGaViso:
     154            with open(sGaViso, 'w') as oGaViso: # pylint: disable=unspecified-encoding
    155155                oGaViso.write(sVisoContent);
    156156            sGaIso = sGaViso;
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r97604 r97673  
    33533353                                                         args = (oGuestProcess,),
    33543354                                                         name = ('threadForTestGuestCtrlSessionReboot'));
    3355                         oThreadReboot.setDaemon(True);
     3355                        oThreadReboot.setDaemon(True); # pylint: disable=deprecated-method
    33563356                        oThreadReboot.start();
    33573357
     
    43124312                oFile.setSize(64);
    43134313                fUseFallback = False;
    4314             except Exception as oXcpt:
     4314            except:
    43154315                reporter.logXcpt();
    43164316
     
    43234323                    try:
    43244324                        oFile.setSize(cbBigFile);
    4325                     except Exception as oXcpt:
     4325                    except Exception:
    43264326                        reporter.logXcpt('cbBigFile=%s' % (sBigPath,));
    43274327                        try:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette