Skip to content

Commit 9eb24a5

Browse files
committed
test: disable some tests
1 parent d4d8621 commit 9eb24a5

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sys.stderr.flush()
2-
sys.stderr.close() # DyLin warn
3-
# reopen stderr to prevent program from crash
4-
sys.stderr = io.TextIOWrapper(io.FileIO(2, 'w'), write_through=True)
1+
# sys.stderr.flush()
2+
# sys.stderr.close() # DyLin warn
3+
# # reopen stderr to prevent program from crash
4+
# sys.stderr = io.TextIOWrapper(io.FileIO(2, 'w'), write_through=True)
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
old_stdout = sys.stdout
2-
# flush sys.stdout
3-
sys.stdout.flush()
1+
# import io
2+
# import sys
43

5-
# close sys.stdout
6-
sys.stdout.close() # DyLin warn
4+
# old_stdout = sys.stdout
5+
# # flush sys.stdout
6+
# sys.stdout.flush()
77

8-
# reopen sys.stdout to prevent program from crashing
9-
sys.stdout = io.TextIOWrapper(io.FileIO(1, 'w'), write_through=True)
8+
# # close sys.stdout
9+
# sys.stdout.close() # DyLin warn
10+
11+
# # reopen sys.stdout to prevent program from crashing
12+
# sys.stdout = io.TextIOWrapper(io.FileIO(1, 'w'), write_through=True)

0 commit comments

Comments
 (0)