mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
tests: harden tests for handling universal line endings
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
@ -29,7 +29,7 @@ class AutoLoadLibrary(u.TestCase):
|
||||
moduleName = fileName[:-2]
|
||||
snippet = prefix + moduleName + suffix
|
||||
|
||||
with open(os.path.join(subdir, fileName), "r") as f:
|
||||
with open(os.path.join(subdir, fileName), "rU") as f:
|
||||
#read in entire file
|
||||
data = f.read()
|
||||
#Make sure it is module
|
||||
|
Reference in New Issue
Block a user