Skip to content

Commit c319070

Browse files
committed
Fixed Unicode Encoding Error
1 parent c094cc7 commit c319070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,22 +394,22 @@ def pytest_sessionstart(session):
394394
if isaacsim_ci:
395395
new_test_files = []
396396
for test_file in test_files:
397-
with open(test_file) as f:
397+
with open(test_file, encoding="utf-8") as f:
398398
if "@pytest.mark.isaacsim_ci" in f.read():
399399
new_test_files.append(test_file)
400400
test_files = new_test_files
401401
elif windows_platform:
402402
new_test_files = []
403403
for test_file in test_files:
404-
with open(test_file) as f:
404+
with open(test_file, encoding="utf-8") as f:
405405
content = f.read()
406406
if "@pytest.mark.windows" in content:
407407
new_test_files.append(test_file)
408408
test_files = new_test_files
409409
elif arm_platform:
410410
new_test_files = []
411411
for test_file in test_files:
412-
with open(test_file) as f:
412+
with open(test_file, encoding="utf-8") as f:
413413
content = f.read()
414414
if "@pytest.mark.arm" in content:
415415
new_test_files.append(test_file)

0 commit comments

Comments
 (0)