tests/test-template-functions.t
branchstable
changeset 49366 288de6f5d724
parent 48879 9987d14ad63f
child 49494 c96ed4029fda
--- a/tests/test-template-functions.t	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-template-functions.t	Thu Jun 16 15:28:54 2022 +0200
@@ -192,7 +192,6 @@
   $ cd unstable-hash
   $ hg log --template '{date|age}\n' > /dev/null || exit 1
 
-  >>> from __future__ import absolute_import
   >>> import datetime
   >>> fp = open('a', 'wb')
   >>> n = datetime.datetime.now() + datetime.timedelta(366 * 7)
@@ -1572,7 +1571,6 @@
 Test cbor filter:
 
   $ cat <<'EOF' > "$TESTTMP/decodecbor.py"
-  > from __future__ import absolute_import
   > from mercurial import (
   >     dispatch,
   > )