Skip to content

Commit 873b381

Browse files
hugovkaaltat
authored andcommitted
Fix tests
1 parent f3048ab commit 873b381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utest/test_get_keyword_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_location_in_main(lib, lib_path):
4545

4646
def test_location_in_class(lib, lib_path_components):
4747
source = lib.get_keyword_source('method')
48-
assert source == '%s:15' % lib_path_components
48+
assert source == '%s:13' % lib_path_components
4949

5050

5151
def test_decorator_wrapper(lib_types, lib_path_types):
@@ -55,7 +55,7 @@ def test_decorator_wrapper(lib_types, lib_path_types):
5555

5656
def test_location_in_class_custom_keyword_name(lib, lib_path_components):
5757
source = lib.get_keyword_source('Custom name')
58-
assert source == '%s:19' % lib_path_components
58+
assert source == '%s:17' % lib_path_components
5959

6060

6161
def test_no_line_number(lib, lib_path, when):

0 commit comments

Comments
 (0)