Skip to content

Commit 425fdd8

Browse files
committed
Update comments
1 parent 5edddcc commit 425fdd8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ def wait_for_angularjs(self, timeout=settings.EXTREME_TIMEOUT, **kwargs):
11271127
try:
11281128
self.execute_async_script(script, timeout=timeout)
11291129
except TimeoutException:
1130-
pass # lets hope things are better when we try to use it
1130+
pass
11311131

11321132
def wait_for_and_accept_alert(self, timeout=settings.LARGE_TIMEOUT):
11331133
if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT:
@@ -1354,12 +1354,10 @@ def _slow_scroll_to_element(self, element):
13541354
# Add small recovery time for long-distance slow-scrolling
13551355
time.sleep(0.162)
13561356

1357-
1358-
# PyTest-Specific Code #
1357+
############
13591358

13601359
def setUp(self):
13611360
"""
1362-
pytest-specific code
13631361
Be careful if a subclass of BaseCase overrides setUp()
13641362
You'll need to add the following line to the subclass setUp() method:
13651363
super(SubClassOfBaseCase, self).setUp()
@@ -1372,6 +1370,7 @@ def setUp(self):
13721370
# Not using pytest (probably nosetests)
13731371
self.is_pytest = False
13741372
if self.is_pytest:
1373+
# pytest-specific code
13751374
test_id = "%s.%s.%s" % (self.__class__.__module__,
13761375
self.__class__.__name__,
13771376
self._testMethodName)

0 commit comments

Comments
 (0)