From c553f621dfbd37c36b819ef04d5759512fda7c6a Mon Sep 17 00:00:00 2001 From: Daverball Date: Tue, 21 Nov 2023 23:12:59 +0100 Subject: [PATCH] Adds stubtest_allowlist entries for the sentinel objects --- stubs/fanstatic/@tests/stubtest_allowlist.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stubs/fanstatic/@tests/stubtest_allowlist.txt b/stubs/fanstatic/@tests/stubtest_allowlist.txt index 8b842128318a..489db9ece9d6 100644 --- a/stubs/fanstatic/@tests/stubtest_allowlist.txt +++ b/stubs/fanstatic/@tests/stubtest_allowlist.txt @@ -56,6 +56,15 @@ fanstatic.registry.Registry.ENTRY_POINT fanstatic.Library.path fanstatic.core.Library.path +# Error: variable differs from runtime type +# ====================== +# These are some sentinel objects which use the NewType pattern to create a +# distinct type +fanstatic.compiler.SOURCE +fanstatic.compiler.TARGET +fanstatic.core.NOTHING +fanstatic.core.REQUIRED_DEFAULT_MARKER + # Error: is not present at runtime # ================================ # See above, defining correct subclasses is more easy with abstract