Ghraven opened a new pull request, #860:
URL: https://github.com/apache/burr/pull/860

   ## Problem
   A few Burr test-case JSON helpers still rely on the platform default text 
encoding when reading or writing JSON/JSONL files. That can make generated test 
fixtures or lifecycle logs less portable on systems where the default encoding 
is not UTF-8.
   
   ## Before / after
   Before, burr test-case create, load_test_cases(), and 
StateAndResultsFullLogger opened text JSON files without an explicit encoding.
   
   After, those reads/writes use encoding="utf-8", matching the rest of Burr's 
text-file handling and keeping non-ASCII fixture/log content deterministic 
across platforms.
   
   ## Verification
   - python -m py_compile burr\cli\__main__.py burr\lifecycle\default.py 
burr\testing\__init__.py
   - Ran a small local smoke check that writes/loads a UTF-8 JSON test case and 
writes UTF-8 JSONL content through StateAndResultsFullLogger.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to