Fixed test data after introducing Python 3.5 in compatibility inspection

This commit is contained in:
Andrey Vlasovskikh
2015-03-26 13:40:13 +03:00
parent 6d5211d3fd
commit 6b3fca9867
3 changed files with 8 additions and 12 deletions
@@ -2,7 +2,7 @@ class A(B):
def __init__(self):
<warning descr="Python version 2.4, 2.5, 2.6, 2.7 do not support this syntax. super() should have arguments in Python 2">super()</warning>
<warning descr="Python version 3.1, 3.2, 3.3, 3.4 do not have method cmp">cmp()</warning>
<warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have method cmp">cmp()</warning>
<warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have method reduce">reduce()</warning>
<warning descr="Python version 2.4 does not have method all">all()</warning>
@@ -1,10 +1,8 @@
<warning descr="Python version 2.4 doesn't support this syntax.">
</warning>
<warning descr="Python version 2.4 doesn't support this syntax.">
</warning>
<warning descr="Python version 2.4 doesn't support this syntax.">from . import smth</warning>
<warning descr="Python version 2.4 doesn't support this syntax.">from .module import name1, name2</warning>
from <warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have module Bastion">Bastion</warning>
from <warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have module Bastion">Bastion</warning> import BastionClass
<warning descr="Python version 2.4 doesn't support this syntax.">
</warning>
<warning descr="Python version 2.4 doesn't support this syntax.">from . import exceptions</warning>
from <warning descr="Python version 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have module email.Utils">email.Utils</warning> import formatdate
@@ -1,5 +1,3 @@
<error descr="Python version 2.7 does not have module builtins"><warning descr="Python version 2.4, 2.5, 2.6, 2.7 do not have module builtins">
</warning></error>
<error descr="Python version 2.7 does not have module builtins"><warning descr="Python version 2.4, 2.5, 2.6, 2.7 do not have module builtins">import builtins</warning></error>
<warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have module __builtin__">
</warning>
<warning descr="Python version 3.0, 3.1, 3.2, 3.3, 3.4, 3.5 do not have module __builtin__">import __builtin__</warning>