Author: hartmannathan
Date: Thu Sep 26 01:35:41 2024
New Revision: 1920935
URL: http://svn.apache.org/viewvc?rev=1920935&view=rev
Log:
Fix spelling
* subversion/bindings/swig/python/tests/repository.py
(BatonCollectorErrorOnClose): Fix spelling in docstring.
(SubversionRepositoryTestCase::test_replay_batons_refcounts): Fix spelling
in comment.
Modified:
subversion/trunk/subversion/bindings/swig/python/tests/repository.py
Modified: subversion/trunk/subversion/bindings/swig/python/tests/repository.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/repository.py?rev=1920935&r1=1920934&r2=1920935&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/repository.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/repository.py Thu Sep 26 01:35:41 2024
@@ -138,7 +138,7 @@ class BatonCollector(repos.ChangeCollect
class BatonCollectorErrorOnClose(BatonCollector):
"""Same as BatonCollector, but raises an Exception when close the
- file/dir specfied by error_path"""
+ file/dir specified by error_path"""
def __init__(self, fs_ptr, root, pool=None, notify_cb=None, error_path=b''):
BatonCollector.__init__(self, fs_ptr, root, pool, notify_cb)
self.error_path = error_path
@@ -444,8 +444,8 @@ class SubversionRepositoryTestCase(unitt
self.assertRaises(SubversionException, repos.replay, root, e_ptr, e_baton)
batons = editor.batons
# As svn_repos_replay calls neither close_edit callback nor abort_edit
- # if an error has occured during processing, references of Python objects
- # in decendant batons may live until e_baton is deleted.
+ # if an error has occurred during processing, references of Python objects
+ # in descendant batons may live until e_baton is deleted.
del e_baton
for baton in batons:
self.assertEqual(sys.getrefcount(baton[2]), 2,
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.