Skip to content

Commit

Permalink
Merge pull request #3296 from vkarak/enhancement/json-decode
Browse files Browse the repository at this point in the history
[enhancement] Use builtin `json` package for decoding testcase data
  • Loading branch information
vkarak authored Nov 5, 2024
2 parents 437d3f2 + 4f3519d commit b575238
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reframe/frontend/reporting/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import abc
import functools
import json
import os
import re
import sqlite3
Expand Down Expand Up @@ -239,7 +240,7 @@ def _decode_sessions(self, results, sess_filter):
# Join all sessions and decode them at once
reports_blob = '[' + ','.join(sessions.values()) + ']'
getprofiler().enter_region('json decode')
reports = jsonext.loads(reports_blob)
reports = json.loads(reports_blob)
getprofiler().exit_region()

# Reindex and filter sessions based on their decoded data
Expand Down

0 comments on commit b575238

Please sign in to comment.