Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lieryan authored Dec 20, 2023
1 parent dcd12ba commit 1665040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rope/base/prefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Prefs:
("sm", "statsmodels"),
],
description=dedent("""
Aliases for module names. For example, `[('np', 'numpy')]` makes rope recomend
Aliases for module names. For example, `[('np', 'numpy')]` makes rope recommend
``import numpy as np``.
"""),
)
Expand Down
2 changes: 1 addition & 1 deletion ropetest/contrib/autoimporttest.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_search_alias(self):
self.assertIn(import_statement, self.importer.search("hasM"))
self.assertIn(import_statement, self.importer.search("h"))

def test_alias_updated_frpom_prefs(self):
def test_alias_updated_from_prefs(self):
self.mod2.write("myvar = None\n")
self.project.prefs.import_aliases = [("mod2_alias", "pkg.mod2")]
self.importer.clear_cache()
Expand Down

0 comments on commit 1665040

Please sign in to comment.