Skip to content

Commit

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

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

#os.environ["PYTHONIOENCODING"] = "utf-8"
for name, value in os.environ.items():
print("{0}: {1}".format(name, value))

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

0 comments on commit 33b7517

Please sign in to comment.