about summary refs log tree commit diff
path: root/tests/unit/computations/test_gemma.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/computations/test_gemma.py')
-rw-r--r--tests/unit/computations/test_gemma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/computations/test_gemma.py b/tests/unit/computations/test_gemma.py
index b36a93e..137c95c 100644
--- a/tests/unit/computations/test_gemma.py
+++ b/tests/unit/computations/test_gemma.py
@@ -22,7 +22,7 @@ class TestGemma(unittest.TestCase):
             self.assertEqual(_file, ("/tmp/gn2/phenotype_"
                                      "P7y6QWnwBPedSZdL0+m/GQ.txt"))
         open_mock.assert_called_with(("/tmp/gn2/phenotype_"
-                                      "P7y6QWnwBPedSZdL0+m/GQ.txt"), "w")
+                                      "P7y6QWnwBPedSZdL0+m/GQ.txt"), "w", encoding="utf-8")
         open_mock.return_value.write.assert_has_calls([
             mock.call("NA\n"),
             mock.call("NA\n"),