diff options
Diffstat (limited to 'dovetail/tests/unit/test_run.py')
-rw-r--r-- | dovetail/tests/unit/test_run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/tests/unit/test_run.py b/dovetail/tests/unit/test_run.py index b2d618a2..c1e37116 100644 --- a/dovetail/tests/unit/test_run.py +++ b/dovetail/tests/unit/test_run.py @@ -490,7 +490,7 @@ class RunTesting(unittest.TestCase): 'Test area area is not defined.') self.assertEqual(None, result) - @patch('__builtin__.open') + @patch('builtins.open') @patch('dovetail.run.os') @patch('dovetail.run.json') @patch('dovetail.run.uuid') @@ -582,7 +582,7 @@ class RunTesting(unittest.TestCase): mock_get_result.assert_called_once_with() self.assertEqual(expected.code, 0) - @patch('__builtin__.open') + @patch('builtins.open') @patch('dovetail.run.json') @patch('dovetail.run.os') @patch('dovetail.run.uuid') |