X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/7bca930ca3d84bbd01e98937b6b8a493d0254c7c..eaa337f176b086a9ebd91884c0b9d9a96772aeb3:/tests/data/long_strings__regression.py?ds=inline diff --git a/tests/data/long_strings__regression.py b/tests/data/long_strings__regression.py index 745a636..2e7f248 100644 --- a/tests/data/long_strings__regression.py +++ b/tests/data/long_strings__regression.py @@ -330,6 +330,72 @@ if __name__ == "__main__": % (i) ) +def A(): + def B(): + def C(): + def D(): + def E(): + def F(): + def G(): + assert ( + c_float(val[0][0] / val[0][1]).value + == c_float(value[0][0] / value[0][1]).value + ), "%s didn't roundtrip" % tag + +class xxxxxxxxxxxxxxxxxxxxx(xxxx.xxxxxxxxxxxxx): + def xxxxxxx_xxxxxx(xxxx): + assert xxxxxxx_xxxx in [ + x.xxxxx.xxxxxx.xxxxx.xxxxxx, + x.xxxxx.xxxxxx.xxxxx.xxxx, + ], ("xxxxxxxxxxx xxxxxxx xxxx (xxxxxx xxxx) %x xxx xxxxx" % xxxxxxx_xxxx) + +value.__dict__[ + key +] = "test" # set some Thrift field to non-None in the struct aa bb cc dd ee + +RE_ONE_BACKSLASH = { + "asdf_hjkl_jkl": re.compile( + r"(?