karsten / rpkg

Forked from rpkg 7 years ago
Clone

69fce47 tests: Properly open/close the file

1 file Authored by bochecha 9 years ago, Committed by pbabinca 9 years ago,
    tests: Properly open/close the file
    
    In addition to being just cleaner, this removes the only warning when
    running the tests for the pyrpkg.sources module with Python3.
    
    Not that we're anywhere ready to have pyrpkg run with Python3, but any
    little step in that direction is a good thing.
    
    Plus it means pyrpkg.sources works fine with both Python2 and Python3!
    
        
file modified
+3 -1