def testModule_aliasInScope(self):
    input_lines = [
        'goog.module(\'test.module\');',
        'var AliasedClass = goog.require(\'goog.AliasedClass\');',
        'goog.scope(function() {',
        'var x = new AliasedClass();',
        '});',
        ]

    namespaces_info = self._GetNamespacesInfoForScript(input_lines, ['goog'])
    namespaceToken = self._GetRequireTokens('goog.AliasedClass')
    self.assertFalse(namespaces_info.IsExtraRequire(namespaceToken),
                     'AliasedClass should be marked as used')
leaveEvent(e: QEvent) -> None
dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testModule_aliasInScope--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/contrib/SCIRun/cm2viewcell.py/QCM2ViewWidget.leaveEvent