Skip to content
Snippets Groups Projects
Commit 6094f110 authored by Stefano Borini's avatar Stefano Borini
Browse files

Fixed bytes literal

parent 9d7ef516
No related branches found
No related tags found
1 merge request!55Remove application and model from bundles. Added plugin reference.
......@@ -38,7 +38,7 @@ class TestDakotaOptimizer(unittest.TestCase):
]
mock_process = mock.Mock()
mock_process.communicate = mock.Mock(return_value=("1 2 3", ""))
mock_process.communicate = mock.Mock(return_value=(b"1 2 3", b""))
with mock.patch("subprocess.Popen") as mock_popen:
mock_popen.return_value = mock_process
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment