Checkout
troycurtisjr
committed
on 20 Nov 17
On branch swig-py3: Ensure Python file objects are closed before destruction.

* subversion/bindings/swig/python/tests/trac/versioncontrol/t… Show more
On branch swig-py3: Ensure Python file objects are closed before destruction.

* subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svn_fs.py,

 subversion/bindings/swig/python/tests/utils.py,

 subversion/bindings/swig/python/tests/wc.py

 (SubversionRepositoryTestSetup.setUp,

  SubversionWorkingCopyTestCase.test_get_pristine_copy_path,

  Temper.alloc_known_repo):

  Wrap bare open() calls in a 'with' block to ensure the file object is closed

  before destruction.

Show less