Skip to content

Commit 75bebf4

Browse files
committed
Fix integration test for R 3.6.0
1 parent 02a92be commit 75bebf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_runtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def test_missing_library(self):
122122
raw_payload = response['Payload'].read().decode('utf-8')
123123
json_payload = json.loads(raw_payload)
124124
self.assertIn('there is no package called ‘Matrix’', json_payload['errorMessage'])
125-
self.assertEqual(json_payload['errorType'], 'simpleError')
125+
error_type = 'packageNotFoundError' if get_version() == '3_6_0' else 'simpleError'
126+
self.assertEqual(json_payload['errorType'], error_type)
126127

127128
@classmethod
128129
def tearDownClass(cls):

0 commit comments

Comments
 (0)