Skip to content

Commit

Permalink
Fix python tests... again
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Jun 11, 2024
1 parent e354a54 commit 5e03ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions python/ycm/tests/command_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def test_SendCommandRequest_ExtraConfVimData_Works( self, ycm ):
'tempname()': '_TEMP_FILE_'
} ),
} ),
False
)
)

Expand All @@ -73,7 +72,6 @@ def test_SendCommandRequest_ExtraConfData_UndefinedValue( self, ycm ):
'insert_spaces': True,
} )
} ),
False
)
)

Expand Down Expand Up @@ -105,7 +103,6 @@ def test_SendCommandRequest_BuildRange_NoVisualMarks( self, ycm, *args ):
}
}
},
False
)


Expand Down Expand Up @@ -139,7 +136,6 @@ def test_SendCommandRequest_BuildRange_VisualMarks( self, ycm, *args ):
}
}
},
False
)


Expand All @@ -158,7 +154,6 @@ def test_SendCommandRequest_IgnoreFileTypeOption( self, ycm, *args ):
'insert_spaces': True
},
},
False
)

with patch( 'ycm.youcompleteme.SendCommandRequest' ) as send_request:
Expand Down
4 changes: 2 additions & 2 deletions python/ycm/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@


BUFNR_REGEX = re.compile(
'^bufnr\\(\'(?P<buffer_filename>.+)\'(, ([01]))?\\)$' )
BUFWINNR_REGEX = re.compile( '^bufwinnr\\((?P<buffer_number>[0-9]+)\\)$' )
'^bufnr\\( \'(?P<buffer_filename>.+)\'(, ([01]))? \\)$' )
BUFWINNR_REGEX = re.compile( '^bufwinnr\\( (?P<buffer_number>[0-9]+) \\)$' )
BWIPEOUT_REGEX = re.compile(
'^(?:silent! )bwipeout!? (?P<buffer_number>[0-9]+)$' )
GETBUFVAR_REGEX = re.compile(
Expand Down

0 comments on commit 5e03ee0

Please sign in to comment.