Skip to content

Commit 3177981

Browse files
committed
Fix shared_db_wrapper tests on Python 2.7
1 parent a5d510e commit 3177981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_noaccess_fixture(noaccess):
5454

5555
@pytest.mark.skipif(get_django_version() < (1, 6),
5656
reason="shared_db_wrapper needs at least Django 1.6")
57-
class TestSharedDbWrapper:
57+
class TestSharedDbWrapper(object):
5858
"""Tests for sharing data created with share_db_wrapper, order matters."""
5959
@pytest.fixture(scope='class')
6060
def shared_item(self, request, shared_db_wrapper):

0 commit comments

Comments
 (0)