Show More
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
@@ -14,16 +14,18 b' __docformat__ = "restructuredtext en"' | |||||
14 | #--------------------------------------------------------------------------- |
|
14 | #--------------------------------------------------------------------------- | |
15 | # Imports |
|
15 | # Imports | |
16 | #--------------------------------------------------------------------------- |
|
16 | #--------------------------------------------------------------------------- | |
|
17 | ||||
|
18 | try: | |||
17 | from IPython.kernel.core.interpreter import Interpreter |
|
19 | from IPython.kernel.core.interpreter import Interpreter | |
18 | import IPython.kernel.engineservice as es |
|
20 | import IPython.kernel.engineservice as es | |
19 | from IPython.testing.util import DeferredTestCase |
|
21 | from IPython.testing.util import DeferredTestCase | |
20 | from twisted.internet.defer import succeed |
|
22 | from twisted.internet.defer import succeed | |
21 |
|
||||
22 | try: |
|
|||
23 | from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController |
|
23 | from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController | |
24 | from Foundation import NSMakeRect |
|
24 | from Foundation import NSMakeRect | |
25 | from AppKit import NSTextView, NSScrollView |
|
25 | from AppKit import NSTextView, NSScrollView | |
26 | except ImportError: |
|
26 | except ImportError: | |
|
27 | pass | |||
|
28 | else: | |||
27 | class TestIPythonCocoaControler(DeferredTestCase): |
|
29 | class TestIPythonCocoaControler(DeferredTestCase): | |
28 | """Tests for IPythonCocoaController""" |
|
30 | """Tests for IPythonCocoaController""" | |
29 |
|
31 |
@@ -28,7 +28,6 b' from zopeinterface import Interface, Attribute, implements, classProvides' | |||||
28 |
|
28 | |||
29 | from IPython.kernel.core.history import FrontEndHistory |
|
29 | from IPython.kernel.core.history import FrontEndHistory | |
30 | from IPython.kernel.core.util import Bunch |
|
30 | from IPython.kernel.core.util import Bunch | |
31 | from IPython.kernel.engineservice import IEngineCore |
|
|||
32 |
|
31 | |||
33 | ############################################################################## |
|
32 | ############################################################################## | |
34 | # TEMPORARY!!! fake configuration, while we decide whether to use tconfig or |
|
33 | # TEMPORARY!!! fake configuration, while we decide whether to use tconfig or |
@@ -16,9 +16,14 b' __docformat__ = "restructuredtext en"' | |||||
16 | #--------------------------------------------------------------------------- |
|
16 | #--------------------------------------------------------------------------- | |
17 |
|
17 | |||
18 | import unittest |
|
18 | import unittest | |
|
19 | ||||
|
20 | try: | |||
19 | from IPython.frontend.asyncfrontendbase import AsyncFrontEndBase |
|
21 | from IPython.frontend.asyncfrontendbase import AsyncFrontEndBase | |
20 | from IPython.frontend import frontendbase |
|
22 | from IPython.frontend import frontendbase | |
21 | from IPython.kernel.engineservice import EngineService |
|
23 | from IPython.kernel.engineservice import EngineService | |
|
24 | except ImportError: | |||
|
25 | import nose | |||
|
26 | raise nose.SkipTest("This test requires zope.interface and Twisted") | |||
22 |
|
27 | |||
23 | class FrontEndCallbackChecker(AsyncFrontEndBase): |
|
28 | class FrontEndCallbackChecker(AsyncFrontEndBase): | |
24 | """FrontEndBase subclass for checking callbacks""" |
|
29 | """FrontEndBase subclass for checking callbacks""" |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
@@ -37,8 +37,7 b' try:' | |||||
37 | IEngineSerializedTestCase, \ |
|
37 | IEngineSerializedTestCase, \ | |
38 | IEngineQueuedTestCase |
|
38 | IEngineQueuedTestCase | |
39 | except ImportError: |
|
39 | except ImportError: | |
40 | print "we got an error!!!" |
|
40 | pass | |
41 | raise |
|
|||
42 | else: |
|
41 | else: | |
43 | class EngineFCTest(DeferredTestCase, |
|
42 | class EngineFCTest(DeferredTestCase, | |
44 | IEngineCoreTestCase, |
|
43 | IEngineCoreTestCase, |
1 | NO CONTENT: modified file chmod 100755 => 100644 |
|
NO CONTENT: modified file chmod 100755 => 100644 |
General Comments 0
You need to be logged in to leave comments.
Login now