diff options
Diffstat (limited to 'tests/postgres_tests/test_integration.py')
| -rw-r--r-- | tests/postgres_tests/test_integration.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postgres_tests/test_integration.py b/tests/postgres_tests/test_integration.py index da3ccb028d..db082a6495 100644 --- a/tests/postgres_tests/test_integration.py +++ b/tests/postgres_tests/test_integration.py @@ -16,7 +16,7 @@ class PostgresIntegrationTests(PostgreSQLSimpleTestCase): stdout=subprocess.DEVNULL, stderr=subprocess.PIPE, cwd=os.path.dirname(__file__), - env=test_environ + env=test_environ, + encoding='utf-8', ) - stderr = '\n'.join([e.decode() for e in result.stderr.splitlines()]) - self.assertEqual(result.returncode, 0, msg=stderr) + self.assertEqual(result.returncode, 0, msg=result.stderr) |
