Skip to content

Commit

Permalink
set utf-8 encoding for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Nov 11, 2024
1 parent 1d9b2e7 commit 11cbf9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions amplpy/tests/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def test_environment_initialization(self):
def test_environment(self):
from amplpy import Environment, AMPL

os.environ["PYTHONIOENCODING"] = "utf-8"

env1 = Environment()
env2 = Environment(os.curdir)
self.assertEqual(env2.get_bin_dir(), os.curdir)
Expand Down

0 comments on commit 11cbf9e

Please sign in to comment.