summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_rlcompleter.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-02-04 19:08:23 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-02-04 19:08:23 (GMT)
commitab8d4fba6d0657420b53b2988cf3810c3f2ace67 (patch)
tree40614615f88383812e3b75a6f0265688bed872fd /Lib/test/test_rlcompleter.py
parentf50215412cdc41b7845a6c0bb040a8f3521a0b84 (diff)
parent46f7785e28c17f33252a95a57dd3827811291394 (diff)
downloadcpython-ab8d4fba6d0657420b53b2988cf3810c3f2ace67.zip
cpython-ab8d4fba6d0657420b53b2988cf3810c3f2ace67.tar.gz
cpython-ab8d4fba6d0657420b53b2988cf3810c3f2ace67.tar.bz2
Merge 3.5
Diffstat (limited to 'Lib/test/test_rlcompleter.py')
-rw-r--r--Lib/test/test_rlcompleter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_rlcompleter.py b/Lib/test/test_rlcompleter.py
index 208c054..0dc1080 100644
--- a/Lib/test/test_rlcompleter.py
+++ b/Lib/test/test_rlcompleter.py
@@ -101,6 +101,7 @@ class TestRlcompleter(unittest.TestCase):
completer = rlcompleter.Completer(dict(f=Foo()))
self.assertEqual(completer.complete('f.', 0), 'f.bar')
+ @unittest.mock.patch('rlcompleter._readline_available', False)
def test_complete(self):
completer = rlcompleter.Completer()
self.assertEqual(completer.complete('', 0), '\t')