diff tests/test-byteify-strings.t @ 42700:f9b64ff9d26b

byteify-strings: add space in special comments to silence flake8 error This is done soon enough that nobody has had the time to use this feature yet.
author Rapha?l Gom?s <rgomes@octobus.net>
date Tue, 06 Aug 2019 14:49:30 +0200
parents 26a31c88e1a5
children 11498aa91c03
line wrap: on
line diff
--- a/tests/test-byteify-strings.t	Thu Jul 18 17:10:38 2019 +0800
+++ b/tests/test-byteify-strings.t	Tue Aug 06 14:49:30 2019 +0200
@@ -152,33 +152,33 @@
 Test ignore comments
 
   $ cat > testfile.py <<EOF
-  > #py3-transform: off
+  > # py3-transform: off
   > "none"
   > "of"
   > 'these'
   > s = """should"""
   > d = '''be'''
-  > #py3-transform: on
+  > # py3-transform: on
   > "this should"
   > 'and this also'
   > 
-  > #no-py3-transform
+  > # no-py3-transform
   > l = "this should be ignored"
   > l2 = "this shouldn't"
   > 
   > EOF
   $ byteify_strings testfile.py
-  #py3-transform: off
+  # py3-transform: off
   "none"
   "of"
   'these'
   s = """should"""
   d = '''be'''
-  #py3-transform: on
+  # py3-transform: on
   b"this should"
   b'and this also'
   
-  #no-py3-transform
+  # no-py3-transform
   l = "this should be ignored"
   l2 = b"this shouldn't"