diff options
Diffstat (limited to 'tests/io/stringio1.py')
| -rw-r--r-- | tests/io/stringio1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/io/stringio1.py b/tests/io/stringio1.py index 9f7c1e44e..6d8491754 100644 --- a/tests/io/stringio1.py +++ b/tests/io/stringio1.py @@ -4,7 +4,7 @@ except ImportError: import io a = io.StringIO() -print('io.StringIO' in repr(a)) +print("io.StringIO" in repr(a)) print(a.getvalue()) print(a.read()) @@ -35,7 +35,7 @@ print(a.read()) a = io.StringIO() a.close() -for f in [a.read, a.getvalue, lambda:a.write("")]: +for f in [a.read, a.getvalue, lambda: a.write("")]: # CPython throws for operations on closed I/O, MicroPython makes # the underlying string empty unless MICROPY_CPYTHON_COMPAT defined try: |
