File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class DerivedInterrupt(KeyboardInterrupt):
5050 pass
5151
5252
53-
5453def test_stream_performance (capsys ) -> None :
5554 """It should be fast to execute."""
5655 src = "for i in range(250_000): print(i)"
@@ -62,6 +61,7 @@ def test_stream_performance(capsys) -> None:
6261 duration = end - start
6362 assert duration < 10
6463
64+
6565class InteractiveShellTestCase (unittest .TestCase ):
6666 def test_naked_string_cells (self ):
6767 """Test that cells with only naked strings are fully executed"""
@@ -97,7 +97,6 @@ def test_run_cell_multiline(self):
9797 self .assertEqual (res .success , True )
9898 self .assertEqual (res .result , None )
9999
100-
101100 def test_multiline_string_cells (self ):
102101 "Code sprinkled with multiline strings should execute (GH-306)"
103102 ip .run_cell ("tmp=0" )
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ def test_run_second(self):
298298 _ip .run_line_magic ("run" , empty .fname )
299299 assert _ip .user_ns ["afunc" ]() == 1
300300
301- @pytest .mark .xfail (is_freethreaded , reason = ' C-third leaks on free-threaded python' )
301+ @pytest .mark .xfail (is_freethreaded , reason = " C-third leaks on free-threaded python" )
302302 def test_tclass (self ):
303303 mydir = os .path .dirname (__file__ )
304304 tc = os .path .join (mydir , "tclass" )
You can’t perform that action at this time.
0 commit comments