tests/test-sshserver.py
branchstable
changeset 49366 288de6f5d724
parent 48946 642e31cb55f0
child 51572 13c004b54cbe
--- a/tests/test-sshserver.py	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-sshserver.py	Thu Jun 16 15:28:54 2022 +0200
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, print_function
-
 import io
 import unittest
 
@@ -40,12 +38,12 @@
     return wireprotoserver.sshserver(ui, repo)
 
 
-class mockrepo(object):
+class mockrepo:
     def __init__(self, ui):
         self.ui = ui
 
 
-class mockui(object):
+class mockui:
     def __init__(self, inbytes):
         self.fin = io.BytesIO(inbytes)
         self.fout = io.BytesIO()