Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Return type does not propagate to derived class #11

Closed
MikhailArkhipov opened this issue Aug 31, 2018 · 3 comments
Closed

Return type does not propagate to derived class #11

MikhailArkhipov opened this issue Aug 31, 2018 · 3 comments
Assignees
Labels
bug Something isn't working feature: intellisense
Milestone

Comments

@MikhailArkhipov
Copy link

import unittest
unittest.TestCase.assertRaises().

image

import unittest
class Simple(unittest.TestCase):
    def test_exception(self):
        self.assertRaises(). # nothing
@MikhailArkhipov
Copy link
Author

MikhailArkhipov commented Oct 12, 2018

3.x specific. Works in 2.x

@MikhailArkhipov
Copy link
Author

Fixed overloads merging, exception is there, but Jedi shows more

image

@MikhailArkhipov
Copy link
Author

The above difference with Jedi is b/c we fetch from Typeshed definitions and they only have exception

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature: intellisense
Projects
None yet
Development

No branches or pull requests

2 participants