Skip to content

Commit

Permalink
Fix compatibility with pytest 8
Browse files Browse the repository at this point in the history
Fixes #1995
  • Loading branch information
frenzymadness authored May 22, 2024
1 parent f7c9ee9 commit ab97e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestSetupReadline(unittest.TestCase):
class NameSpace(object):
pass

def __init__(self, *args, **kwargs):
def setUp(self, *args, **kwargs):
super().__init__(*args, **kwargs)

self.namespace = self.NameSpace()
Expand Down

2 comments on commit ab97e9f

@kloczek
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to release new version because of this commit? 🤔

@davidhalter
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, sorry.

Please sign in to comment.