Skip to content
Snippets Groups Projects
  1. Jun 06, 2018
  2. Jun 05, 2018
  3. May 26, 2018
    • Claudiu Popa's avatar
      Protect against passing lookup_class to non-class proxied objects · df254206
      Claudiu Popa authored
      In some cases the _proxied object points to another Instance, not to the
      Class of an Instance node (usually this happens with enum and with our hardcoded inference support
      for this library). Instead of getting a TypeError, we check before if the _proxied matches
      what we expect.
      
      Found by #2080
      df254206
  4. May 15, 2018
  5. May 07, 2018
  6. Apr 16, 2018
  7. Apr 12, 2018
  8. Apr 05, 2018
  9. Apr 02, 2018
  10. Mar 30, 2018
  11. Mar 28, 2018
  12. Mar 16, 2018
  13. Feb 19, 2018
    • Bryce Guinta's avatar
      Fix augassign recursion error · b81a7625
      Bryce Guinta authored
      The augmented assign rhs context path was deleted most likely
      due to a recently fixed inference bug where InferenceContext path
      attributes were shared between objects.
      
      Recursive functions on the right hand side of the augmented assign would
      forget that they were already called, causing an eventual RecursionError
      in astroid inference
      
      Now that the InferenceContext clone() method properly copies the
      inference path between Contexts, it's fine to remove this hack.
      
      Fixes #437, Fixes #447, Fixes #313, Fixes PyCQA/pylint#1642, Fixes PyCQA/pylint#1805, Fixes PyCQA/pylint#1854, Fixes PyCQA/pylint#1452
      b81a7625
    • Bryce Guinta's avatar
      Skip test when it doesn't work with pytest · 451cf4b1
      Bryce Guinta authored
      pytest redirects stdout so it makes sense that
      this test would fail.
      
      Use pytest -s to not skip this test with pytest.
      
      unittest will still use this test.
      451cf4b1
    • Bryce Guinta's avatar
      Use pytest as default test runner instead of unittest for tox · 6079a47f
      Bryce Guinta authored
      There was some trouble getting this to work. I needed to use
      --pyargs for pytest to work in tox
      
      Allow for test file prefix unittest_ to be changed to standard test_
      Helps with updating the astroid tests to standard pytest conventions
      
      Make pytest use proper test directory by default
      6079a47f
    • Bryce Guinta's avatar
      Fix inference issue with inference path cloning · 206d8a29
      Bryce Guinta authored
      Copy inference path in inference context upon cloning to prevent diverging inference paths causing uninferable results
      206d8a29
  14. Feb 04, 2018
  15. Feb 03, 2018
  16. Jan 23, 2018
  17. Dec 27, 2017
  18. Dec 15, 2017
Loading