Skip to content

Commit

Permalink
Fix super call
Browse files Browse the repository at this point in the history
  • Loading branch information
MRigal authored May 4, 2020
1 parent 53bc289 commit b1840ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def pytest_unconfigure(config):


class BlackItem(pytest.Item, pytest.File):
def __init__(self, path, parent):
super(BlackItem, self).__init__(path, parent)
def __init__(self, fspath, parent):
super(BlackItem, self).__init__(fspath, parent)
self._nodeid += "::BLACK"
self.add_marker("black")
try:
Expand Down

0 comments on commit b1840ca

Please sign in to comment.