Changes in tests/pybin/tools.py [eb67b47:8e516fd]
- File:
-
- 1 edited
-
tests/pybin/tools.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
reb67b47 r8e516fd 238 238 # helper function to check if a files contains only a specific string 239 239 def file_contains_only(file, text) : 240 with open(file , encoding="latin-1") as f: # use latin-1 so all chars mean something.240 with open(file) as f: 241 241 ff = f.read().strip() 242 242 result = ff == text.strip()
Note:
See TracChangeset
for help on using the changeset viewer.