tests/test-notify.t
changeset 48944 fe3303436b79
parent 48876 42d2b31cee0b
child 49876 950c39918bd2
--- a/tests/test-notify.t	Mon Feb 21 12:44:41 2022 -0700
+++ b/tests/test-notify.t	Mon Feb 21 12:46:27 2022 -0700
@@ -2,14 +2,13 @@
   > import io
   > import re
   > import sys
-  > if sys.version_info[0] >= 3:
-  >     sys.stdout = io.TextIOWrapper(
-  >         sys.stdout.buffer,
-  >         sys.stdout.encoding,
-  >         sys.stdout.errors,
-  >         newline="\n",
-  >         line_buffering=sys.stdout.line_buffering,
-  >     )
+  > sys.stdout = io.TextIOWrapper(
+  >     sys.stdout.buffer,
+  >     sys.stdout.encoding,
+  >     sys.stdout.errors,
+  >     newline="\n",
+  >     line_buffering=sys.stdout.line_buffering,
+  > )
   > print(re.sub("\n[ \t]", " ", sys.stdin.read()), end="")
   > EOF