Skip to content

Commit 3d3a7be

Browse files
committed
set utf-8 for python env test
1 parent c0088d9 commit 3d3a7be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

amplpy/tests/test_environment.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def test_environment_initialization(self):
2323
def test_environment(self):
2424
from amplpy import Environment, AMPL
2525

26+
os.environ["PYTHONIOENCODING"] = "utf-8"
27+
2628
env1 = Environment()
2729
env2 = Environment(os.curdir)
2830
self.assertEqual(env2.get_bin_dir(), os.curdir)

0 commit comments

Comments
 (0)