Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jupytext/jupytext
/ functions
Functions
1,277 in github.com/jupytext/jupytext
⨍
Functions
1,277
◇
Types & classes
73
↳
Endpoints
7
Function
test_jupytext_to_ipynb_does_not_update_timestamp_if_not_paired
(tmpdir, cwd_tmpdir, python_notebook, capsys, formats)
tests/functional/cli/test_cli.py:1200
Function
test_jupytext_to_ipynb_does_not_update_timestamp_if_output_not_in_pair
( tmpdir, cwd_tmpdir, python_notebook, capsys, formats )
tests/functional/cli/test_cli.py:1175
Function
test_jupytext_to_ipynb_suggests_update
(tmpdir, cwd_tmpdir, capsys)
tests/functional/cli/test_cli.py:1163
Function
test_jupytext_to_raises_on_synchronous_edits
(tmp_path, python_notebook, monkeypatch)
tests/functional/cli/test_synchronous_changes.py:73
Function
test_jupytext_update_preserves_cell_ids
(tmpdir, cwd_tmpdir, notebook_with_outputs)
tests/functional/cli/test_cli.py:1142
Function
test_jupytext_version
(capsys)
tests/functional/cli/test_cli.py:87
Function
test_kernelspec_are_preserved
(ipynb_py_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:652
Function
test_language_and_attribute
(text="python .class", value=("python", {".class": None}))
tests/functional/others/test_cell_metadata.py:180
Function
test_language_metadata_no_space
(text='python{"a":1}', value=("python", {"a": 1}))
tests/functional/others/test_cell_metadata.py:130
Function
test_language_no_metadata
(text="python", value=("python", {}))
tests/functional/others/test_cell_metadata.py:110
Function
test_lexer_is_preserved_in_round_trips
( tmp_path, no_jupytext_version_number, header, text="""```{code-cell} ipython3 1 + 1 ``` """,
tests/functional/cli/test_cli.py:1338
Function
test_list_in_metadata
(cell_metadata={"d": ["e"]})
tests/functional/simple_notebooks/test_read_simple_rmd.py:143
Function
test_load_jupytext_configuration_file
(tmpdir, config_file)
tests/functional/config/test_config.py:103
Function
test_load_save_keeps_simple_python_file_unchanged
Test that jupytext --sync on a simple Python file leaves it unchanged, even if a Jupytext configuration has formats=ipynb,py:percent
tests/integration/contents_manager/test_contentsmanager.py:1983
Function
test_load_save_percent_format
(percent_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:523
Function
test_load_save_py_freeze_metadata
(python_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:236
Function
test_load_save_rename
(ipynb_py_R_jl_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:108
Function
test_load_save_rename_nbpy
(ipynb_py_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:207
Function
test_load_save_rename_nbpy_default_config
(ipynb_py_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:310
Function
test_load_save_rename_non_ascii_path
(ipynb_py_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:348
Function
test_load_save_rename_notebook_with_dot
(ipynb_py_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:285
Function
test_load_text_notebook
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:262
Function
test_load_then_change_formats
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:1192
Function
test_local_config_overrides_cm_config
(tmpdir, cm)
tests/integration/contents_manager/test_cm_config.py:20
Function
test_local_format_can_deactivate_pairing
This is a test for #157: local format can be used to deactivate the global pairing
tests/integration/contents_manager/test_contentsmanager.py:1052
Function
test_long_string
( text="""'''This is a multiline comment with "quotes", 'single quotes' # and comments and line breaks a
tests/unit/test_stringparser.py:4
Function
test_long_string_ends_with_four_quotes
( text="""'''This is a multiline comment that ends with four quotes '''' 1 + 1 """, )
tests/unit/test_stringparser.py:64
Function
test_long_string_with_four_quotes
( text="""''''This is a multiline comment that starts with four quotes ''' 1 + 1 """, )
tests/unit/test_stringparser.py:46
Function
test_magic_assign_781
()
tests/unit/test_escape_magics.py:277
Function
test_magic_assign_816
()
tests/unit/test_escape_magics.py:285
Function
test_magic_commands_are_commented
( go="""// %% // !*rm -f go.work && go work init && go work use . ${HOME}/Projects/gopjrt // %goworkfix //
tests/functional/simple_notebooks/test_read_simple_go.py:138
Function
test_magics_are_commented
(fmt)
tests/unit/test_escape_magics.py:91
Function
test_magics_are_not_commented
(fmt)
tests/unit/test_escape_magics.py:116
Function
test_magics_commented_default
(fmt, commented)
tests/unit/test_escape_magics.py:74
Function
test_main_formats_support_cell_metadata
(fmt)
tests/functional/others/test_cell_tags_are_preserved.py:19
Function
test_manual_call_of_pre_commit_hook
(tmpdir)
tests/external/pre_commit/test_pre_commit_scripts.py:277
Function
test_many_and_suffix
()
tests/unit/test_paired_paths.py:172
Function
test_marimo_py_to_notebook
(py_marimo, notebook)
tests/external/test_marimo.py:42
Function
test_marimo_to_ipynb
(marimo_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:96
Function
test_mark_cell_with_no_title_and_inner_region
( script="""# This is a markdown cell # region {"key": "value"} a = 1 # region An inner region b = 2 # e
tests/functional/simple_notebooks/test_read_folding_markers.py:65
Function
test_mark_cell_with_vim_folding_markers
( script="""# This is a markdown cell # {{{ And this is a foldable code region with metadata {"key": "val
tests/functional/simple_notebooks/test_read_folding_markers.py:7
Function
test_mark_cell_with_vscode_pycharm_folding_markers
( script="""# This is a markdown cell # region And this is a foldable code region with metadata {"key": "
tests/functional/simple_notebooks/test_read_folding_markers.py:38
Function
test_markdown_and_r_extensions
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:1580
Function
test_markdown_cell_with_backslash_is_encoded_with_raw_string
( nb=new_notebook(cells=[new_markdown_cell(r"A $\LaTeX$ expression")]), py=r'''# %% [markdown] r""" A
tests/functional/others/test_raw_strings.py:8
Function
test_markdown_cell_with_code_inside_multiline_string_419
A code cell containing triple backticks is converted to a code cell encapsulated with four backticks
tests/functional/simple_notebooks/test_read_simple_markdown.py:735
Function
test_markdown_cell_with_code_works
( nb=new_notebook( cells=[ new_markdown_cell( """```python 1 + 1 ```""
tests/functional/simple_notebooks/test_read_simple_rmd.py:67
Function
test_markdown_cell_with_code_works
( nb=new_notebook( cells=[ new_markdown_cell( """```python 1 + 1 ```""
tests/functional/simple_notebooks/test_read_simple_markdown.py:661
Function
test_markdown_cell_with_metadata
( markdown="""<!-- #region key="value" --> A long markdown cell <!-- #endregion --> """, )
tests/functional/simple_notebooks/test_read_simple_markdown.py:389
Function
test_markdown_cell_with_metadata_json
( markdown="""<!-- #region {"key": "value"} --> A long markdown cell <!-- #endregion --> """, )
tests/functional/simple_notebooks/test_read_simple_markdown.py:370
Function
test_markdown_cell_with_noeval_code_works
( nb=new_notebook( cells=[ new_markdown_cell( """```python .noeval 1 +
tests/functional/simple_notebooks/test_read_simple_markdown.py:677
Function
test_markdown_image_is_not_magic
()
tests/unit/test_escape_magics.py:207
Function
test_markdown_jupytext_nbconvert_is_identity
Test that a Markdown file, converted to a notebook, then exported back to Markdown with nbconvert, yields the original file
tests/functional/round_trip/test_jupytext_nbconvert_round_trip.py:8
Function
test_markdown_to_doxygen
()
tests/functional/others/test_doxygen.py:22
Function
test_markdown_with_metadata
( text="""# + [markdown] key="value" # Markdown cell """, notebook=new_notebook(cells=[new_markdown_ce
tests/functional/simple_notebooks/test_read_simple_python.py:987
Function
test_matches_mystnb
()
tests/functional/simple_notebooks/test_ipynb_to_myst.py:86
Function
test_md_to_ipynb
(md_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:100
Function
test_meaningfull_error_open_myst_missing
(tmpdir, cm)
tests/functional/simple_notebooks/test_ipynb_to_myst.py:184
Function
test_meaningfull_error_when_pandoc_is_missing
(tmpdir)
tests/external/simple_external_notebooks/test_read_simple_pandoc.py:81
Function
test_meaningfull_error_write_myst_missing
(tmpdir)
tests/functional/simple_notebooks/test_ipynb_to_myst.py:174
Function
test_metadata_and_cell_to_header
(no_jupytext_version_number)
tests/unit/test_header.py:85
Function
test_metadata_and_cell_to_header2
(no_jupytext_version_number)
tests/unit/test_header.py:104
Function
test_metadata_filter_as_dict
()
tests/functional/metadata/test_metadata_filter.py:36
Function
test_metadata_filter_default
()
tests/functional/metadata/test_metadata_filter.py:42
Function
test_metadata_filter_from_config_has_precedence_over_notebook_metadata
(tmpdir, cwd_tmpdir, cm, python_notebook)
tests/integration/contents_manager/test_cm_config.py:170
Function
test_metadata_filter_in_notebook_757
()
tests/functional/metadata/test_metadata_filter.py:165
Function
test_metadata_filter_is_effective
(ipynb_py_R_jl_file, cm, tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:966
Function
test_metadata_filter_user_overrides_default
()
tests/functional/metadata/test_metadata_filter.py:57
Function
test_metadata_filter_user_plus_default
()
tests/functional/metadata/test_metadata_filter.py:47
Function
test_metadata_filters_from_config
(tmpdir)
tests/functional/metadata/test_metadata_filters_from_config.py:11
Function
test_metadata_stays_in_order_1368
( tmp_path, cm, md="""--- jupytext: formats: md:myst notebook_metadata_filter: -jupytext.text_
tests/integration/contents_manager/test_contentsmanager.py:1907
Function
test_move_paired_notebook_outside_of_notebook_dir_1414
(tmp_path, cm, python_notebook, copy: bool, config_file: bool)
tests/integration/contents_manager/test_contentsmanager.py:1797
Function
test_move_paired_notebook_outside_of_pairing_config_1414
(tmp_path, cm, python_notebook)
tests/integration/contents_manager/test_contentsmanager.py:1831
Function
test_move_paired_notebook_to_subdir_1059
(tmp_path, cm, python_notebook)
tests/integration/contents_manager/test_contentsmanager.py:1762
Function
test_multiline_comments_format_option
()
tests/functional/simple_notebooks/test_read_simple_percent.py:277
Function
test_multiline_comments_in_markdown_1
()
tests/functional/simple_notebooks/test_read_simple_percent.py:245
Function
test_multiline_comments_in_markdown_1
()
tests/functional/simple_notebooks/test_read_simple_python.py:999
Function
test_multiline_comments_in_markdown_2
()
tests/functional/simple_notebooks/test_read_simple_percent.py:261
Function
test_multiline_comments_in_markdown_2
()
tests/functional/simple_notebooks/test_read_simple_python.py:1015
Function
test_multiline_comments_in_markdown_cell_is_robust_to_additional_cell_marker
()
tests/functional/simple_notebooks/test_read_simple_percent.py:320
Function
test_multiline_comments_in_markdown_cell_is_robust_to_additional_cell_marker
()
tests/functional/simple_notebooks/test_read_simple_python.py:1058
Function
test_multiline_comments_in_markdown_cell_no_line_return
()
tests/functional/simple_notebooks/test_read_simple_percent.py:308
Function
test_multiline_comments_in_markdown_cell_no_line_return
()
tests/functional/simple_notebooks/test_read_simple_python.py:1046
Function
test_multiline_comments_in_raw_cell
()
tests/functional/simple_notebooks/test_read_simple_percent.py:293
Function
test_multiline_comments_in_raw_cell
()
tests/functional/simple_notebooks/test_read_simple_python.py:1031
Function
test_multiline_metadata
( no_jupytext_version_number, notebook=new_notebook( metadata={ "multiline": """A
tests/unit/test_header.py:124
Function
test_multiline_python_magic
(no_jupytext_version_number)
tests/unit/test_escape_magics.py:218
Function
test_multiple_empty_cells
()
tests/functional/simple_notebooks/test_read_simple_percent.py:210
Function
test_multiple_formats_771
(tmpdir, cwd_tmpdir, python_notebook)
tests/functional/cli/test_cli_config.py:173
Function
test_multiple_pairing
Test that multiple pairing works. Input cells are loaded from the most recent text representation among the paired ones
tests/integration/contents_manager/test_contentsmanager.py:1605
Function
test_mutiple_cells_differ
()
tests/unit/test_compare.py:255
Function
test_myst_file_has_myst_format
(myst_file)
tests/functional/round_trip/test_mirror.py:105
Function
test_myst_frontmatter_metadata_combo
(no_jupytext_version_number)
tests/functional/round_trip/test_myst_header.py:69
Function
test_myst_header_is_stable_1247_using_config
( jupytext_toml_content="""notebook_metadata_filter = "-jupytext.text_representation.jupytext_version,sett
tests/functional/round_trip/test_myst_header.py:39
Function
test_myst_header_is_stable_1247_using_inline_filter
( md="""--- jupytext: formats: md:myst notebook_metadata_filter: -jupytext.text_representation.jupytex
tests/functional/round_trip/test_myst_header.py:12
Function
test_myst_metadata_support_unicode_characters
( md="""--- jupytext: formats: md:myst notebook_metadata_filter: -jupytext.text_representation.jupytex
tests/functional/round_trip/test_myst_header.py:115
Function
test_myst_notebook_is_trusted_941
( tmp_path, cm, myst="""--- jupytext: formats: md:myst text_representation: extension: .md
tests/functional/others/test_trust_notebook.py:176
Function
test_myst_representation_same_cli_or_contents_manager
This test gives some information on #759. As of Jupytext 1.11.1, in the MyST Markdown format, the code cells have an ipython3 lexer when the noteb
tests/functional/simple_notebooks/test_ipynb_to_myst.py:214
Function
test_myst_to_ipynb
(myst_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:113
Function
test_nbconvert_cell
( script="""# In[2]: print('Hello') """, )
tests/functional/simple_notebooks/test_read_simple_percent.py:184
Function
test_nbconvert_cell
( script="""# In[2]: print('Hello') """, )
tests/functional/simple_notebooks/test_read_simple_hydrogen.py:167
← previous
next →
801–900 of 1,277, ranked by callers