Upgrade Python syntax with pyupgrade --py3-plus

This commit is contained in:
Hugo
2020-07-11 16:09:19 +03:00
committed by Zac-HD
parent 6f315356be
commit 22ae7ff7af
11 changed files with 17 additions and 23 deletions

View File

@@ -1,4 +1,3 @@
from __future__ import print_function
import py
import pytest
import textwrap
@@ -35,7 +34,7 @@ def mysetup(tmpdir):
@pytest.fixture
def workercontroller(monkeypatch):
class MockController(object):
class MockController:
def __init__(self, *args):
pass