Skip to content

Commit

Permalink
rebase master into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrabel-db committed Aug 17, 2023
1 parent 27eafc7 commit 2014441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pylsp/plugins/rope_autoimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
log = logging.getLogger(__name__)

_score_pow = 5
_score_max = 10**_score_pow
_score_max = 10 ** _score_pow
MAX_RESULTS = 1000


Expand Down
11 changes: 7 additions & 4 deletions test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,13 @@ def test_find_parents(tmpdir):


def test_merge_dicts():
assert _utils.merge_dicts(
{"a": True, "b": {"x": 123, "y": {"hello": "world"}}},
{"a": False, "b": {"y": [], "z": 987}},
) == {"a": False, "b": {"x": 123, "y": [], "z": 987}}
assert (
_utils.merge_dicts(
{"a": True, "b": {"x": 123, "y": {"hello": "world"}}},
{"a": False, "b": {"y": [], "z": 987}},
)
== {"a": False, "b": {"x": 123, "y": [], "z": 987}}
)


def test_clip_column():
Expand Down

0 comments on commit 2014441

Please sign in to comment.