Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import py
import pytest
import six

from hunter.util import safe_repr

Expand Down Expand Up @@ -178,7 +177,7 @@ def __instancecheck__(self, instance):
side_effects.append('MetaMeta.__instancecheck__')
return True

class Meta(six.with_metaclass(MetaMeta, type)):
class Meta(type, metaclass=MetaMeta):
@property
def __mro__(self):
side_effects.append('Meta.__mro__')
Expand All @@ -202,7 +201,7 @@ def __dict__(self, _={}):
side_effects.append('Meta.__dict__')
return _

class Foobar(six.with_metaclass(Meta, object)):
class Foobar(metaclass=Meta):
@property
def __mro__(self):
side_effects.append('Foobar.__mro__')
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ deps =
setuptools>=80
setuptools_scm>=8
aspectlib
six
py
tzdata
ipdb
Expand Down
Loading