mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
undo PYTHONIOENCODING
This commit is contained in:
parent
bfd363ffde
commit
08230a0262
1 changed files with 0 additions and 5 deletions
|
@ -14,11 +14,6 @@ from aider.main import main
|
||||||
class TestMain(TestCase):
|
class TestMain(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
os.environ["OPENAI_API_KEY"] = "deadbeef"
|
os.environ["OPENAI_API_KEY"] = "deadbeef"
|
||||||
|
|
||||||
# Force this so that GitHub Actions windows tests don't barf on rich.Console().rule()
|
|
||||||
# https://github.com/Textualize/rich/issues/2411
|
|
||||||
os.environ["PYTHONIOENCODING"] = "utf-8"
|
|
||||||
|
|
||||||
self.original_cwd = os.getcwd()
|
self.original_cwd = os.getcwd()
|
||||||
self.tempdir = tempfile.mkdtemp()
|
self.tempdir = tempfile.mkdtemp()
|
||||||
os.chdir(self.tempdir)
|
os.chdir(self.tempdir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue