@@ -217,8 +217,7 @@ def test_when_tokenize_tokenerror(self):
217217 with self .assertRaises (SystemExit ):
218218 self .verify_tabnanny_check (file_path , err = err )
219219
220- # TODO: RUSTPYTHON
221- @unittest .expectedFailure
220+ @unittest .expectedFailure # TODO: RUSTPYTHON; A python source code file eligible for raising `tabnanny.NannyNag`.
222221 def test_when_nannynag_error_verbose (self ):
223222 """A python source code file eligible for raising `tabnanny.NannyNag`.
224223
@@ -232,8 +231,7 @@ def test_when_nannynag_error_verbose(self):
232231 tabnanny .verbose = 1
233232 self .verify_tabnanny_check (file_path , out = out )
234233
235- # TODO: RUSTPYTHON
236- @unittest .expectedFailure
234+ @unittest .expectedFailure # TODO: RUSTPYTHON; A python source code file eligible for raising `tabnanny.NannyNag`.
237235 def test_when_nannynag_error (self ):
238236 """A python source code file eligible for raising `tabnanny.NannyNag`."""
239237 with TemporaryPyFile (SOURCE_CODES ["nannynag_errored" ]) as file_path :
@@ -318,8 +316,7 @@ def validate_cmd(self, *args, stdout="", stderr="", partial=False, expect_failur
318316 self .assertListEqual (out .splitlines (), stdout .splitlines ())
319317 self .assertListEqual (err .splitlines (), stderr .splitlines ())
320318
321- # TODO: RUSTPYTHON
322- @unittest .expectedFailure
319+ @unittest .expectedFailure # TODO: RUSTPYTHON; Should displays error when errored python file is given.
323320 def test_with_errored_file (self ):
324321 """Should displays error when errored python file is given."""
325322 with TemporaryPyFile (SOURCE_CODES ["wrong_indented" ]) as file_path :
@@ -345,8 +342,7 @@ def test_quiet_flag(self):
345342 stdout = f"{ file_path } \n "
346343 self .validate_cmd ("-q" , file_path , stdout = stdout )
347344
348- # TODO: RUSTPYTHON
349- @unittest .expectedFailure
345+ @unittest .expectedFailure # TODO: RUSTPYTHON
350346 def test_verbose_mode (self ):
351347 """Should display more error information if verbose mode is on."""
352348 with TemporaryPyFile (SOURCE_CODES ["nannynag_errored" ]) as path :
@@ -355,8 +351,7 @@ def test_verbose_mode(self):
355351 ).strip ()
356352 self .validate_cmd ("-v" , path , stdout = stdout , partial = True )
357353
358- # TODO: RUSTPYTHON
359- @unittest .expectedFailure
354+ @unittest .expectedFailure # TODO: RUSTPYTHON
360355 def test_double_verbose_mode (self ):
361356 """Should display detailed error information if double verbose is on."""
362357 with TemporaryPyFile (SOURCE_CODES ["nannynag_errored" ]) as path :
0 commit comments