X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/793450aeb00c8547ef5355c38dbf573ce4252bae..92a150d9e45379ea8c14e1b10293d659f60eb132:/tests/cantfit.py?ds=inline diff --git a/tests/cantfit.py b/tests/cantfit.py index 54f692c..e15e69c 100644 --- a/tests/cantfit.py +++ b/tests/cantfit.py @@ -25,6 +25,16 @@ normal_name = normal_function_name( "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs", this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it=0, ) +string_variable_name = ( + "a string that is waaaaaaaayyyyyyyy too long, even in parens, there's nothing you can do" # noqa +) +for key in """ + hostname + port + username +""".split(): + if key in self.connect_kwargs: + raise ValueError(err.format(key)) # output @@ -38,7 +48,9 @@ this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_li 1 ) # with a comment this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [ - 1, 2, 3 + 1, + 2, + 3, ] this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = ( function() @@ -65,3 +77,11 @@ normal_name = normal_function_name( "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs", this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it=0, ) +string_variable_name = "a string that is waaaaaaaayyyyyyyy too long, even in parens, there's nothing you can do" # noqa +for key in """ + hostname + port + username +""".split(): + if key in self.connect_kwargs: + raise ValueError(err.format(key))