Skip to content

Commit d032bd8

Browse files
committed
Update comments
1 parent 4c8cc08 commit d032bd8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14789,8 +14789,7 @@ def _get_driver_name_and_version(self):
1478914789
return None
1479014790

1479114791
def _addSkip(self, result, test_case, reason):
14792-
"""This method should NOT be called directly from tests.
14793-
(It will be called AUTOMATICALLY as needed.)"""
14792+
"""This method should NOT be called directly from tests."""
1479414793
addSkip = getattr(result, 'addSkip', None)
1479514794
if addSkip is not None:
1479614795
addSkip(test_case, reason)
@@ -14803,14 +14802,12 @@ def _addSkip(self, result, test_case, reason):
1480314802
result.addSuccess(test_case)
1480414803

1480514804
def _callTestMethod(self, method):
14806-
"""This method should NOT be called directly from tests.
14807-
(It will be called AUTOMATICALLY as needed.)"""
14805+
"""This method should NOT be called directly from tests."""
1480814806
method()
1480914807

1481014808
def run(self, result=None):
1481114809
"""Overwrite the unittest run() method for Python 3.11 or newer.
14812-
This method should NOT be called directly from tests.
14813-
(It will be called AUTOMATICALLY as needed.)"""
14810+
This method should NOT be called directly from tests."""
1481414811
if not python3_11_or_newer:
1481514812
return super().run(result=result)
1481614813
if result is None:

0 commit comments

Comments
 (0)