← Back
Editing: test_magic_terminal.cpython-311.pyc
� �@�cl � �d � d Z ddlZddlmZ ddlmZ ddlmZ dZ dd�Z d � Z G d � de� � ZdS ) zDTests for various magic functions specific to the terminal frontend.� N)�StringIO)�TestCase)�toolsav from IPython.core.magic import ( Magics, magics_class, line_magic, cell_magic, ) @magics_class class LazyMagics(Magics): @line_magic def lazy_line(self, line): print("Lazy Line") @cell_magic def lazy_cell(self, line, cell): print("Lazy Cell") def load_ipython_extension(ipython): ipython.register_magics(LazyMagics) Fc � � dt j d<