summaryrefslogtreecommitdiff
path: root/tests/functional/r/redefined/redefined_builtin_allowed.py
blob: ec7697dfce353401733e359c5ea9afa6c19bd49e (plain)
1
2
3
4
5
6
7
8
9
"""Tests for redefining builtins."""

def function():
    """Allow some redefines."""
    dir = "path"  # allowed in config
    dict = "wrong"  # [redefined-builtin]
    print(dir, dict)

list = "not in globals" # [redefined-builtin]