Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lib/test/test_readline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import locale
import os
import sys
import sysconfig
import tempfile
import textwrap
import threading
Expand Down Expand Up @@ -413,6 +414,8 @@ def test_write_read_limited_history(self):
# So, we've only tested that the read did not fail.
# See TestHistoryManipulation for the full test.

@unittest.skipUnless(sysconfig.get_config_var("HAVE_RL_CHANGE_ENVIRONMENT"),
"readline can modify the environment")
def test_environment_is_not_modified(self):
# os.environ contains environment at the time "os" module was loaded, so
# before the "readline" module is loaded.
Expand Down
Loading