diff --git a/mypy/stubtest.py b/mypy/stubtest.py index 60445616210b..824f945231af 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1142,6 +1142,11 @@ def verify_typealias( "__instancecheck__", "__subclasshook__", "__subclasscheck__", + # python2 only magic methods: + "__cmp__", + "__nonzero__", + "__unicode__", + "__div__", # Pickle methods "__setstate__", "__getstate__",