summaryrefslogtreecommitdiff
path: root/pylint/test/regrtest_data/precedence_test.py
blob: 260eeb32d03577693bb3ab27078e1488d36d7cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
  # package/__init__.py
  class AudioTime(object):
    DECIMAL = 3

  # package/AudioTime.py
  class AudioTime(object):
    pass

  # test.py
  from package import AudioTime
  # E0611 - No name 'DECIMAL' in module 'AudioTime.AudioTime'
  print AudioTime.DECIMAL

"""
from __future__ import print_function
__revision__ = 0

from package import AudioTime

print(AudioTime.DECIMAL)