##// END OF EJS Templates
Don't use fork to start the notebook in js tests...
Don't use fork to start the notebook in js tests It can encounter a weird segfault on OS X with sqlite when Qt is present (?!) The main reason to use the fork was to get the port number, but this is easy now that notebooks write a server-info file. Further advantage is that the symptom of a failed server start is no longer silence and hanging tests, but an actual failure with the server's log output.

File last commit:

r13582:b21d447e
r15909:ea201ca5
Show More
__init__.py
15 lines | 333 B | text/x-python | PythonLexer
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from _dummy import *
else:
from ._nope import *
del sys, platform, V