summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-02-04 08:57:45 -0500
committerClaudiu Popa <pcmanticore@gmail.com>2018-02-04 08:57:45 -0500
commite7c589ca24a47ff130f414cce0939e8f16dd8ab0 (patch)
treed08a65cf0ed6ba635f90d12561278277a0c8794a /astroid/rebuilder.py
parent328253256902789654e1bb93a2ef21241e445365 (diff)
downloadastroid-git-e7c589ca24a47ff130f414cce0939e8f16dd8ab0.tar.gz
Remove flaky tests for random.sample
Recently we added support for inferring random.sample return values. But in the cases where there was something amiss with the function call (too many arguments, too few, wrong type), we were falling back on the default inference, as it is the normal approach for inference tips. The problem is that the inference is inconsistent depending on the Python version. On Python 3.6 it correctly infers a list, but with the elements being None, while on older versions it returns Uninferable. Since we want to just test that our brain tip works correctly, we can just remove the other tests and let only the brain tip test to live.
Diffstat (limited to 'astroid/rebuilder.py')
0 files changed, 0 insertions, 0 deletions