X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/dd4477b70120bf736144c38ec50144253f34dce2..728e5a2f1ed16e2cfe0ca5586edac6c10da436c5:/tests/comments2.py diff --git a/tests/comments2.py b/tests/comments2.py index 2045c93..32a2ab3 100644 --- a/tests/comments2.py +++ b/tests/comments2.py @@ -23,6 +23,25 @@ __all__ = [ 'Generator', ] +not_shareables = [ + # singletons + True, + False, + NotImplemented, ..., + # builtin types and objects + type, + object, + object(), + Exception(), + 42, + 100.0, + "spam", + # user-defined types and objects + Cheese, + Cheese("Wensleydale"), + SubBytes(b"spam"), +] + if 'PYTHON' in os.environ: add_compiler(compiler_from_env()) else: @@ -152,6 +171,26 @@ __all__ = [ "Generator", ] +not_shareables = [ + # singletons + True, + False, + NotImplemented, + ..., + # builtin types and objects + type, + object, + object(), + Exception(), + 42, + 100.0, + "spam", + # user-defined types and objects + Cheese, + Cheese("Wensleydale"), + SubBytes(b"spam"), +] + if "PYTHON" in os.environ: add_compiler(compiler_from_env()) else: