Skip to content

Commit ae05a3b

Browse files
author
Daniel Reigada
committed
Fix tests
1 parent 911ae04 commit ae05a3b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/main/resources/docs/tests/W0221.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ class Child(Parent):
1010

1111
##Err: W0221
1212
def method(self, arg, arg1):
13-
return arg, arg1, arg2
13+
return arg, arg1
1414

src/main/resources/docs/tests/W0222.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
class Parent(object):
44

5-
def method(self, arg, arg=1):
5+
def method(self, arg, arg1 = 1):
66
return arg
77

88

99
class Child(Parent):
1010

1111
##Err: W0222
1212
def method(self, arg, arg1):
13-
return arg, arg1, arg2
13+
return arg, arg1

src/main/resources/docs/tests/W0613.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
class Object(object):
44

55
##Info: W0613
6-
def method(self, arg, unused_arg):
6+
def method(self, arg, arg2):
77
return arg * 2

src/main/resources/docs/tests/slots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class SixthGood(object):
3434
class SeventhGood(object):
3535
__slots__ = {"a": "b", "c": "d"}
3636

37+
##Err: E0238
3738
class Bad(object):
3839
__slots__ = list
3940

0 commit comments

Comments
 (0)