mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
skip readline test on Windows
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
import readline
|
try:
|
||||||
|
import readline
|
||||||
|
except ImportError:
|
||||||
|
readline = False
|
||||||
|
|
||||||
from jedi import utils
|
from jedi import utils
|
||||||
from .helpers import TestCase, cwd_at
|
|
||||||
|
from .helpers import unittest, cwd_at
|
||||||
|
|
||||||
|
|
||||||
class TestSetupReadline(TestCase):
|
@unittest.skipIf(not readline, "readline not found")
|
||||||
|
class TestSetupReadline(unittest.TestCase):
|
||||||
class NameSpace(object):
|
class NameSpace(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user