File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6377,7 +6377,9 @@ def tearDown(self):
6377
6377
super(SubClassOfBaseCase, self).tearDown()
6378
6378
"""
6379
6379
try :
6380
- with_selenium = self .with_selenium
6380
+ is_pytest = self .is_pytest # This fails if overriding setUp()
6381
+ if is_pytest :
6382
+ with_selenium = self .with_selenium
6381
6383
except Exception :
6382
6384
sub_class_name = str (
6383
6385
self .__class__ .__bases__ [0 ]).split ('.' )[- 1 ].split ("'" )[0 ]
Original file line number Diff line number Diff line change 54
54
55
55
setup (
56
56
name = 'seleniumbase' ,
57
- version = '1.46.5 ' ,
57
+ version = '1.46.6 ' ,
58
58
description = 'Web Automation and Test Framework - https://seleniumbase.io' ,
59
59
long_description = long_description ,
60
60
long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments