Skip to content

Commit

Permalink
Merge branch 'master' into lieryan-add-flake8-config
Browse files Browse the repository at this point in the history
  • Loading branch information
lieryan committed Nov 27, 2022
2 parents 2b3ed99 + f370f4c commit 7b43396
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 160 deletions.
4 changes: 2 additions & 2 deletions ropetest/pyscopestest.py
Expand Up @@ -48,10 +48,10 @@ class SampleClass(object):
scope = libutils.get_string_scope(self.project, code)

self.assertEqual(1, len(scope.get_scopes()))
sample_func_scope = scope.get_scopes()[0] # noqa
sample_func_scope = scope.get_scopes()[0]
self.assertEqual(
get_base_type("Type"),
scope.get_scopes()[0]["SampleClass"].get_object().get_type(),
sample_func_scope["SampleClass"].get_object().get_type(),
)

def test_list_comprehension_scope_inside_assignment(self):
Expand Down

0 comments on commit 7b43396

Please sign in to comment.