@@ -174,14 +174,14 @@ def checkout(
174174 >>> svn = Svn(dir=tmp_path)
175175 >>> svn_remote_repo = create_svn_remote_repo()
176176 >>> svn.checkout(url=f'file://{svn_remote_repo}')
177- 'Checked out revision ...'
178- >>> svn.checkout(url=f'file://{svn_remote_repo}', revision=1 )
179- 'svn: E160006: No such revision 1 ...'
177+ '... Checked out revision ...'
178+ >>> svn.checkout(url=f'file://{svn_remote_repo}', revision=10 )
179+ 'svn: E160006: No such revision 10 ...'
180180 """
181181 local_flags : list [str ] = [url , str (self .dir )]
182182
183183 if revision is not None :
184- local_flags .extend (["--revision" , revision ])
184+ local_flags .extend (["--revision" , str ( revision ) ])
185185 if depth is not None :
186186 local_flags .extend (["--depth" , depth ])
187187 if force is True :
@@ -339,8 +339,9 @@ def blame(
339339 Examples
340340 --------
341341 >>> svn = Svn(dir=tmp_path)
342- >>> svn.checkout(url=f'file://{create_svn_remote_repo()}')
343- 'Checked out revision ...'
342+ >>> repo = create_svn_remote_repo()
343+ >>> svn.checkout(url=f'file://{repo}')
344+ '...Checked out revision ...'
344345 >>> new_file = tmp_path / 'new.txt'
345346 >>> new_file.write_text('example text', encoding="utf-8")
346347 12
@@ -349,7 +350,7 @@ def blame(
349350 >>> svn.commit(path=new_file, message='My new commit')
350351 '...'
351352 >>> svn.blame('new.txt')
352- '1 ... example text'
353+ '4 ... example text'
353354 """
354355 local_flags : list [str ] = [str (target )]
355356
@@ -449,7 +450,7 @@ def commit(
449450 >>> svn.add(path=new_file)
450451 'A new.txt'
451452 >>> svn.commit(path=new_file, message='My new commit')
452- 'Adding new.txt...Transmitting file data...Committed revision 1 .'
453+ 'Adding new.txt...Transmitting file data...Committed revision 4 .'
453454 """
454455 local_flags : list [str ] = []
455456
0 commit comments