diff options
author | Michal Wajszczuk <wajszczuk.m@gmail.com> | 2017-02-16 19:41:51 +0100 |
---|---|---|
committer | Michal Wajszczuk <wajszczuk.m@gmail.com> | 2017-02-16 20:28:17 +0100 |
commit | fb0b90646ec86ced32d146ee42e25f4cd72d2229 (patch) | |
tree | c59e67d0781d0c7cee8aa7d65916f5d5da0448e9 /testing/test_pastebin.py | |
parent | da828aac055a65a2127ba4208d973be6d4150a31 (diff) | |
download | pytest-fb0b90646ec86ced32d146ee42e25f4cd72d2229.tar.gz |
New-style classes implemented for python 2.7 - #2147
Diffstat (limited to 'testing/test_pastebin.py')
-rw-r--r-- | testing/test_pastebin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_pastebin.py b/testing/test_pastebin.py index 8123424ca..f0d2a9ba2 100644 --- a/testing/test_pastebin.py +++ b/testing/test_pastebin.py @@ -2,7 +2,7 @@ import sys import pytest -class TestPasteCapture: +class TestPasteCapture(object): @pytest.fixture def pastebinlist(self, monkeypatch, request): @@ -71,7 +71,7 @@ class TestPasteCapture: ]) -class TestPaste: +class TestPaste(object): @pytest.fixture def pastebin(self, request): @@ -88,7 +88,7 @@ class TestPaste: def mocked(url, data): calls.append((url, data)) - class DummyFile: + class DummyFile(object): def read(self): # part of html of a normal response return b'View <a href="/raw/3c0c6750bd">raw</a>.' |