8000 Test picked up on this mistake · doismellburning/github3.py@7d3e494 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d3e494

Browse files
committed
Test picked up on this mistake
1 parent 43b0ce2 commit 7d3e494

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ def list_of(self, cls):
5353
for actual in self._actual:
5454
CustomExpecter(actual).isinstance(cls)
5555

56-
def githuberror(self):
57-
return self.raises(github3.GitHubError)
56+
@classmethod
57+
def githuberror(cls):
58+
return cls.raises(github3.GitHubError)
5859

5960
expect = CustomExpecter
6061

0 commit comments

Comments
 (0)
0