Skip to content

Commit

Permalink
Update test_environment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz authored Nov 30, 2024
1 parent 8ba7529 commit 98bf7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/tests/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_environment(self):
for name, value in os.environ.items():
print("{0}: {1}".format(name, value))

os.environ["USER1"] = "Filipe Brandão"
os.environ["USER1"] = "Filipe Brandão".encode('utf-8')
env1 = Environment()
env2 = Environment(os.curdir)
self.assertEqual(env2.get_bin_dir(), os.curdir)
Expand Down

0 comments on commit 98bf7ad

Please sign in to comment.