From 33b751778d00985764e42a9c5cb421a667949237 Mon Sep 17 00:00:00 2001 From: Jurgen Lentz Date: Mon, 11 Nov 2024 17:38:09 +0100 Subject: [PATCH] debug environment vars --- amplpy/tests/test_environment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/amplpy/tests/test_environment.py b/amplpy/tests/test_environment.py index 0218ca9..7df37f9 100644 --- a/amplpy/tests/test_environment.py +++ b/amplpy/tests/test_environment.py @@ -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)