--- a/tests/test-rust-discovery.py Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-rust-discovery.py Thu Jun 16 15:28:54 2022 +0200
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
import unittest
from mercurial import policy
@@ -32,12 +31,12 @@
)
-class fakechangelog(object):
+class fakechangelog:
def __init__(self, idx):
self.index = idx
-class fakerepo(object):
+class fakerepo:
def __init__(self, idx):
"""Just make so that self.changelog.index is the given idx."""
self.changelog = fakechangelog(idx)