Commit 084824f8 authored by Damien George's avatar Damien George
Browse files

tests: Move super-as-local test from cpydiff to basic tests.

It's now possible to use the name "super" as a local variable.
parent dce7dd42
"""
categories: Core,Classes
description: Bug when using "super" as a local
cause: Unknown
workaround: Unknown
"""
# test using the name "super" as a local variable
class A:
def foo(self):
super = [1]
super = [1, 2]
super.pop()
print(super)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment