You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method in test_clinic.py is never executed, since its name does not begin with test_, and it is never called from any methods whose names do begin with test_:
======================================================================
ERROR: test_disabled_test_converter_arguments (test.test_clinic.ClinicParserTest.test_disabled_test_converter_arguments)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\alexw\coding\argclinic-python\Lib\test\test_clinic.py", line 986, in test_disabled_test_converter_arguments
function =self.parse_function("""^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alexw\coding\argclinic-python\Lib\test\test_clinic.py", line 858, in parse_function
block =self.parse(text)
^^^^^^^^^^^^^^^^
File "C:\Users\alexw\coding\argclinic-python\Lib\test\test_clinic.py", line 854, in parse
parser.parse(block)
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 4617, in parseself.state(line)
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 4870, in state_parameters_startreturnself.next(self.state_parameter, line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 4656, in nextself.state(line)
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 4919, in state_parameterself.parse_parameter(param)
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 5139, in parse_parameter
fail(f'{name!r} is not a valid {legacy_str}converter')
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 208, in fail
warn_or_fail(*args, filename=filename, line_number=line_number, fail=True)
File "C:\Users\alexw\coding\argclinic-python\Tools\clinic\clinic.py", line 191, in warn_or_failraise error
clinic.ClinicError: 'path_t' is not a valid converter
----------------------------------------------------------------------
It seems like this method was introduced in the original commit adding argument clinic to CPython.
Should we just delete it? Fix it?
The text was updated successfully, but these errors were encountered:
This method in
test_clinic.py
is never executed, since its name does not begin withtest_
, and it is never called from any methods whose names do begin withtest_
:cpython/Lib/test/test_clinic.py
Lines 985 to 992 in 6996b40
If I prepend
test_
to the method name, it fails:Traceback:
It seems like this method was introduced in the original commit adding argument clinic to CPython.
Should we just delete it? Fix it?
The text was updated successfully, but these errors were encountered: