Skip to content
Snippets Groups Projects
  1. Mar 16, 2018
  2. 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
  3. Feb 04, 2018
  4. Feb 03, 2018
  5. Jan 23, 2018
  6. Dec 27, 2017
  7. Dec 15, 2017
  8. Dec 11, 2017
  9. Nov 11, 2017
Loading