/usr/lib/python3/dist-packages/bpython/test/fodder/original.py is in bpython3 0.15-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # careful: whitespace is very important in this file
# also, this code runs - so everything should be a noop
class BlankLineBetweenMethods(object):
def method1(self):
pass
def method2(self):
pass
def BlankLineInFunction(self):
return 7
pass
#StartTest-blank_lines_in_for_loop
for i in range(2):
pass
pass
#EndTest
#StartTest-blank_line_in_try_catch
try:
1
except:
2
#EndTest
#StartTest-blank_line_in_try_catch_else
try:
1
except:
2
else:
3
#EndTest
#StartTest-blank_trailing_line
def foo():
return 1
#EndTest
def tabs():
return 1
|