File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3940,8 +3940,7 @@ def test_readrc_current_dir(self):
39403940 rc_path = os .path .join (cwd , ".pdbrc" )
39413941 with open (rc_path , "w" ) as f :
39423942 f .write ("invalid" )
3943- self .assertEqual (pdb .Pdb ().rcLines [0 ], "invalid" )
3944- self .assertEqual (len (pdb .Pdb ().rcLines ), 1 )
3943+ self .assertEqual (pdb .Pdb ().rcLines [- 1 ], "invalid" )
39453944
39463945 def test_readrc_cwd_is_home (self ):
39473946 with os_helper .EnvironmentVarGuard () as env :
@@ -3952,7 +3951,6 @@ def test_readrc_cwd_is_home(self):
39523951 with open (rc_path , "w" ) as f :
39533952 f .write ("invalid" )
39543953 self .assertEqual (pdb .Pdb ().rcLines , ["invalid" ])
3955- self .assertEqual (len (pdb .Pdb ().rcLines ), 1 )
39563954
39573955 def test_header (self ):
39583956 stdout = StringIO ()
You can’t perform that action at this time.
0 commit comments