We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bdb23d commit 9d1ca65Copy full SHA for 9d1ca65
1 file changed
tests/run-tests
@@ -17,6 +17,9 @@ else:
17
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3')
18
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../unix/micropython')
19
20
+# Set PYTHONIOENCODING so that CPython will use utf-8 on systems which set another encoding in the locale
21
+os.environ['PYTHONIOENCODING']='utf-8'
22
+
23
def rm_f(fname):
24
if os.path.exists(fname):
25
os.remove(fname)
0 commit comments