diff options
Diffstat (limited to 'src/compiler')
-rwxr-xr-x | src/compiler/glsl/glcpp/tests/glcpp_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/glcpp/tests/glcpp_test.py b/src/compiler/glsl/glcpp/tests/glcpp_test.py index 8ac5d7cb0a1..e27391093cf 100755 --- a/src/compiler/glsl/glcpp/tests/glcpp_test.py +++ b/src/compiler/glsl/glcpp/tests/glcpp_test.py @@ -64,8 +64,9 @@ def test_output(glcpp, filename, expfile, nl_format='\n'): stderr=subprocess.STDOUT, stdin=subprocess.PIPE) actual, _ = proc.communicate(f.read()) + actual = actual.decode('utf-8') - with open(expfile, 'rb') as f: + with open(expfile, 'r') as f: expected = f.read() if actual == expected: |