File: E25.py

package info (click to toggle)
pep8 1.2-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 324 kB
  • sloc: python: 1,524; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#: E251
def foo(bar = False):
    '''Test function with an error in declaration'''
    pass
#: E251
foo(bar= True)
#: E251
foo(bar =True)
#: E251
foo(bar = True)
#: E251
y = bar(root= "sdasd")
#: Okay
foo(bar=(1 == 1))
foo(bar=(1 != 1))
foo(bar=(1 >= 1))
foo(bar=(1 <= 1))