VirtualBox

Ignore:
Timestamp:
Mar 8, 2022 2:44:28 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150376
Message:

ValKit/tests: pylint 2.9.6 adjustments (mostly about using 'with' statements).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r93904 r94127  
    10511051        # Open /dev/null for use as stdin further down.
    10521052        try:
    1053             oDevNull = open(os.path.devnull, 'w+');
     1053            oDevNull = open(os.path.devnull, 'w+');             # pylint: disable=consider-using-with
    10541054        except:
    10551055            oDevNull = None;
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