VirtualBox

Ignore:
Timestamp:
Sep 3, 2018 9:21:18 AM (6 years ago)
Author:
vboxsync
Message:

tdApi1: Shut up pylint warnings about importing things in 2.7.9 compatible manner.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdApi1.py

    r72742 r74032  
    7979if __name__ == '__main__':
    8080    sys.path.append(os.path.dirname(os.path.abspath(__file__)))
    81     from tdPython1     import SubTstDrvPython1;
    82     from tdAppliance1  import SubTstDrvAppliance1;
    83     from tdMoveMedium1 import SubTstDrvMoveMedium1;
    84     from tdTreeDepth1  import SubTstDrvTreeDepth1;
    85     from tdMoveVM1     import SubTstDrvMoveVM1;
     81    from tdPython1     import SubTstDrvPython1;     # pylint: disable=relative-import
     82    from tdAppliance1  import SubTstDrvAppliance1;  # pylint: disable=relative-import
     83    from tdMoveMedium1 import SubTstDrvMoveMedium1; # pylint: disable=relative-import
     84    from tdTreeDepth1  import SubTstDrvTreeDepth1;  # pylint: disable=relative-import
     85    from tdMoveVM1     import SubTstDrvMoveVM1;     # pylint: disable=relative-import
    8686    sys.exit(tdApi1([SubTstDrvPython1, SubTstDrvAppliance1, SubTstDrvMoveMedium1,
    8787                     SubTstDrvTreeDepth1, SubTstDrvMoveVM1]).main(sys.argv))
  • trunk/src/VBox/ValidationKit/tests/api/tdTreeDepth1.py

    r70816 r74032  
    147147if __name__ == '__main__':
    148148    sys.path.append(os.path.dirname(os.path.abspath(__file__)))
    149     from tdApi1 import tdApi1
     149    from tdApi1 import tdApi1;      # pylint: disable=relative-import
    150150    sys.exit(tdApi1([SubTstDrvTreeDepth1]).main(sys.argv))
    151151
Note: See TracChangeset for help on using the changeset viewer.

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