File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -75,25 +75,6 @@ def test_non_utf8_json_log():
75
75
_non_utf8_json_log (conventional = False , fetch_next = lambda x : next (x ))
76
76
_non_utf8_json_log (conventional = True , fetch_next = lambda x : x )
77
77
78
- def _msg_print (conventional , fetch_next ):
79
- log_datafile = "./data/serial_link_log_20150428-084729.log.dat"
80
- with open (log_datafile , 'r' ) as infile :
81
- with JSONLogIterator (infile , conventional = conventional ) as log :
82
- with warnings .catch_warnings (record = True ) as w :
83
- for _ , _ in fetch_next (log ):
84
- pass
85
- warnings .simplefilter ("always" )
86
- # Check for warnings.
87
- assert len (w ) == 1
88
- assert issubclass (w [0 ].category , RuntimeWarning )
89
- assert str (w [0 ].message ).startswith ('Bad message parsing for line' )
90
-
91
- @pytest .mark .xfail
92
- def test_msg_print ():
93
- """
94
- """
95
- _msg_print (conventional = False , fetch_next = lambda x : next (x ))
96
- _msg_print (conventional = True , fetch_next = lambda x : x )
97
78
98
79
def udp_handler (data ):
99
80
class MockRequestHandler (socketserver .BaseRequestHandler ):
You can’t perform that action at this time.
0 commit comments