277 if node is not None: |
277 if node is not None: |
278 actualList = [] |
278 actualList = [] |
279 for el in node.elts: |
279 for el in node.elts: |
280 if isinstance(el, ast.Constant): |
280 if isinstance(el, ast.Constant): |
281 actualList.append(el.value) |
281 actualList.append(el.value) |
282 elif isinstance(el, ast.Str): |
|
283 actualList.append(el.s) |
|
284 else: |
282 else: |
285 # Can't handle anything that isn't a string literal |
283 # Can't handle anything that isn't a string literal |
286 return None |
284 return None |
287 |
285 |
288 expectedList = self.sorted( |
286 expectedList = self.sorted( |