swi-prolog: update to 9.2.9
[oi-userland.git] / components / python / black / test / results-all.master
blob983aeb4627099d432577ec5bc2509b8535d4b9a0
1 py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
2 py$(PYV): commands[0]> python -m coverage erase
3 py$(PYV): commands[1]> python -m pytest tests --run-optional jupyter -m jupyter --numprocesses auto --cov --cov-append
4 ============================= test session starts ==============================
5 platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
6 cachedir: .tox/py$(PYV)/.pytest_cache
7 rootdir: $(@D)
8 configfile: pyproject.toml
9 X workers [63 items]
11 scheduling tests via LoadScheduling
13 tests/test_ipynb.py::test_automagic PASSED
14 tests/test_ipynb.py::test_cache_isnt_written_if_no_jupyter_deps_dir PASSED
15 tests/test_ipynb.py::test_cache_isnt_written_if_no_jupyter_deps_single PASSED
16 tests/test_ipynb.py::test_cell_magic[custom cell magics mode] PASSED
17 tests/test_ipynb.py::test_cell_magic[default mode] PASSED
18 tests/test_ipynb.py::test_cell_magic_nested PASSED
19 tests/test_ipynb.py::test_cell_magic_noop PASSED
20 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic[Correctly change when cell magic registered] PASSED
21 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic[No change when cell magic not registered] PASSED
22 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic[No change when other cell magics registered] PASSED
23 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic_after_spaces_and_comments_noop[   %%custom_magic \nx=2] PASSED
24 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic_after_spaces_and_comments_noop[# comment\n%%custom_magic\nx=2] PASSED
25 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic_after_spaces_and_comments_noop[\n  \n # comment with %%time\n\t\n %%custom_magic # comment \nx=2] PASSED
26 tests/test_ipynb.py::test_cell_magic_with_custom_python_magic_after_spaces_and_comments_noop[\n\n%%custom_magic\nx=2] PASSED
27 tests/test_ipynb.py::test_cell_magic_with_invalid_body PASSED
28 tests/test_ipynb.py::test_cell_magic_with_magic PASSED
29 tests/test_ipynb.py::test_cell_magic_with_magic_noop PASSED
30 tests/test_ipynb.py::test_empty_cell PASSED
31 tests/test_ipynb.py::test_empty_string PASSED
32 tests/test_ipynb.py::test_entire_notebook_empty_metadata PASSED
33 tests/test_ipynb.py::test_entire_notebook_no_trailing_newline PASSED
34 tests/test_ipynb.py::test_entire_notebook_trailing_newline PASSED
35 tests/test_ipynb.py::test_entire_notebook_without_changes PASSED
36 tests/test_ipynb.py::test_input_already_contains_transformed_magic PASSED
37 tests/test_ipynb.py::test_ipynb_and_pyi_flags PASSED
38 tests/test_ipynb.py::test_ipynb_diff_with_change PASSED
39 tests/test_ipynb.py::test_ipynb_diff_with_no_change PASSED
40 tests/test_ipynb.py::test_ipynb_flag PASSED
41 tests/test_ipynb.py::test_magic[Assignment to environment variable-custom cell magics mode] PASSED
42 tests/test_ipynb.py::test_magic[Assignment to environment variable-default mode] PASSED
43 tests/test_ipynb.py::test_magic[Assignment to magic-custom cell magics mode] PASSED
44 tests/test_ipynb.py::test_magic[Assignment to magic-default mode] PASSED
45 tests/test_ipynb.py::test_magic[Help-custom cell magics mode] PASSED
46 tests/test_ipynb.py::test_magic[Help-default mode] PASSED
47 tests/test_ipynb.py::test_magic[Line magic with argument-custom cell magics mode] PASSED
48 tests/test_ipynb.py::test_magic[Line magic with argument-default mode] PASSED
49 tests/test_ipynb.py::test_magic[Line magic without argument-custom cell magics mode] PASSED
50 tests/test_ipynb.py::test_magic[Line magic without argument-default mode] PASSED
51 tests/test_ipynb.py::test_magic[Other help-custom cell magics mode] PASSED
52 tests/test_ipynb.py::test_magic[Other help-default mode] PASSED
53 tests/test_ipynb.py::test_magic[Other system call-custom cell magics mode] PASSED
54 tests/test_ipynb.py::test_magic[Other system call-default mode] PASSED
55 tests/test_ipynb.py::test_magic[System assignment-custom cell magics mode] PASSED
56 tests/test_ipynb.py::test_magic[System assignment-default mode] PASSED
57 tests/test_ipynb.py::test_magic[System call-custom cell magics mode] PASSED
58 tests/test_ipynb.py::test_magic[System call-default mode] PASSED
59 tests/test_ipynb.py::test_magic_noop PASSED
60 tests/test_ipynb.py::test_multiline_magic PASSED
61 tests/test_ipynb.py::test_multiline_no_magic PASSED
62 tests/test_ipynb.py::test_non_python_magics[%%bash\n2+2] PASSED
63 tests/test_ipynb.py::test_non_python_magics[%%html --isolated\n2+2] PASSED
64 tests/test_ipynb.py::test_non_python_magics[%%writefile e.txt\n  meh\n meh] PASSED
65 tests/test_ipynb.py::test_non_python_notebook PASSED
66 tests/test_ipynb.py::test_noop PASSED
67 tests/test_ipynb.py::test_set_input PASSED
68 tests/test_ipynb.py::test_trailing_semicolon[False] PASSED
69 tests/test_ipynb.py::test_trailing_semicolon[True] PASSED
70 tests/test_ipynb.py::test_trailing_semicolon_indented PASSED
71 tests/test_ipynb.py::test_trailing_semicolon_noop PASSED
72 tests/test_ipynb.py::test_trailing_semicolon_with_comment PASSED
73 tests/test_ipynb.py::test_trailing_semicolon_with_comment_on_next_line PASSED
74 tests/test_ipynb.py::test_unable_to_replace_magics PASSED
75 tests/test_ipynb.py::test_unparseable_notebook PASSED
78 ======== 63 passed ========
79 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_0
80 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_0'
81   warnings.warn(
82 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_1
83 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_1'
84   warnings.warn(
85 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)
86 <class 'FileExistsError'>: [Errno 17] File exists: '$(TMPDIR)
87   warnings.warn(
88 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_0
89 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_0'
90   warnings.warn(
91 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_1
92 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_1'
93   warnings.warn(
94 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)
95 <class 'FileExistsError'>: [Errno 17] File exists: '$(TMPDIR)
96   warnings.warn(
97 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_0
98 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_0'
99   warnings.warn(
100 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_1
101 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_1'
102   warnings.warn(
103 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)
104 <class 'FileExistsError'>: [Errno 17] File exists: '$(TMPDIR)
105   warnings.warn(
106 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_0
107 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_0'
108   warnings.warn(
109 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)/test_static_directory_without_1
110 <class 'FileExistsError'>: [Errno 17] File exists: 'test_static_directory_without_1'
111   warnings.warn(
112 $(PYTHON_DIR)/vendor-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing $(TMPDIR)
113 <class 'FileExistsError'>: [Errno 17] File exists: '$(TMPDIR)
114   warnings.warn(
115 py$(PYV): commands[2]> python -m coverage report
116 Name                                                                                                                                       Stmts   Miss Branch BrPart  Cover
117 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
118 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/_black_version.py                  1      0      0      0   100%
119 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/__init__.py                603    228    333     70    56%
120 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/_width_table.py              2      0      0      0   100%
121 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/brackets.py                165     70     86     20    52%
122 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/cache.py                    89     23     24      2    69%
123 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/comments.py                205    109    117      8    40%
124 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/concurrency.py              97     75     44      0    16%
125 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/const.py                     4      0      0      0   100%
126 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/debug.py                    39     21     12      0    39%
127 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/files.py                   213    101    104     21    48%
128 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/handle_ipynb_magics.py     190      5     75      4    97%
129 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/linegen.py                 756    537    432     31    24%
130 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/lines.py                   514    284    327     29    36%
131 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/mode.py                     94      7     18      6    87%
132 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/nodes.py                   471    261    304     46    37%
133 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/numerics.py                 35     20     14      5    41%
134 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/output.py                   68     20     32      5    61%
135 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/parsing.py                 125     48     53      9    58%
136 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/ranges.py                  208    179    112      0    10%
137 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/report.py                   63     12     24      5    76%
138 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/rusty.py                    14      4      0      0    71%
139 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/strings.py                 201    124     98     12    31%
140 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/black/trans.py                   931    809    456      1     9%
141 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blackd/__init__.py               155    112     40      1    23%
142 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blackd/middlewares.py             24     17      6      0    23%
143 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/__init__.py               0      0      0      0   100%
144 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/__init__.py         0      0      0      0   100%
145 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/driver.py         206     70     76     17    61%
146 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/grammar.py         69     21     10      1    70%
147 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/parse.py          184     78     62     10    54%
148 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/pgen.py           314     29    132      7    89%
149 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/token.py           77      3      4      0    96%
150 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pgen2/tokenize.py       607    382    232     31    36%
151 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pygram.py               153      0      2      0   100%
152 $(PROTO_DIR)$(PYTHON_DIR)/vendor-packages/blib2to3/pytree.py               472    262    214      9    37%
153 tests/__init__.py                                                                                                                              0      0      0      0   100%
154 tests/conftest.py                                                                                                                             10      0      0      0   100%
155 tests/optional.py                                                                                                                             70     10     26      6    83%
156 tests/test_black.py                                                                                                                         1693   1444    140      1    14%
157 tests/test_blackd.py                                                                                                                         136    102      8      0    25%
158 tests/test_docs.py                                                                                                                            40     31     22      0    15%
159 tests/test_format.py                                                                                                                          39     22      4      0    40%
160 tests/test_ipynb.py                                                                                                                          205      0     10      0   100%
161 tests/test_no_ipynb.py                                                                                                                        22     13      0      0    41%
162 tests/test_ranges.py                                                                                                                          33     18      0      0    45%
163 tests/test_schema.py                                                                                                                          11      8      4      0    20%
164 tests/test_tokenize.py                                                                                                                        38     20      4      1    50%
165 tests/test_trans.py                                                                                                                           33     30      2      0     9%
166 tests/util.py                                                                                                                                175    105     42      0    35%
167 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
168 TOTAL                                                                                                                                       9854   5714   3705    358    38%
169   py$(PYV): OK
170   congratulations :)