tests/test-wireproto.py
branchstable
changeset 49366 288de6f5d724
parent 48946 642e31cb55f0
--- a/tests/test-wireproto.py	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-wireproto.py	Thu Jun 16 15:28:54 2022 +0200
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, print_function
-
 import sys
 
 from mercurial import (
@@ -16,7 +14,7 @@
 stringio = util.stringio
 
 
-class proto(object):
+class proto:
     def __init__(self, args):
         self.args = args
         self.name = 'dummyproto'
@@ -78,7 +76,7 @@
         return {b'name': mangle(name)}, unmangle
 
 
-class serverrepo(object):
+class serverrepo:
     def __init__(self, ui):
         self.ui = ui