Пример #1
0
def test_1():
    setup.start_emacs()
    output = setup.ask_emacs(
        ("(progn\n" "  (pymacs-start-services)\n" "  (not (null pymacs-transit-buffer)))\n"), "prin1"
    )
    assert output == "t", output
    setup.stop_emacs()
Пример #2
0
def test_1():
    setup.start_emacs()
    output = setup.ask_emacs(('(progn\n'
                              '  (pymacs-start-services)\n'
                              '  (not (null pymacs-transit-buffer)))\n'),
                             'prin1')
    assert output == 't', output
    setup.stop_emacs()
Пример #3
0
def test_1():
    setup.start_emacs()
    setup.stop_emacs()
Пример #4
0
def setup_module(module):
    setup.start_emacs()
Пример #5
0
def setup_module(module):
    setup.start_emacs()
Пример #6
0
def setup_module(module):
    setup.start_emacs()
    setup.ask_emacs('(defun print-for-eval-expanded (expression)\n'
                    '  (let ((pymacs-forget-mutability t))\n'
                    '    (pymacs-print-for-eval expression)))\n')
Пример #7
0
def setup_module(module):
    setup.start_emacs()
    setup.ask_emacs('(defun print-for-eval-expanded (expression)\n'
                    '  (let ((pymacs-forget-mutability t))\n'
                    '    (pymacs-print-for-eval expression)))\n')