summaryrefslogtreecommitdiff
path: root/test/black.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/black.py')
-rw-r--r--test/black.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/black.py b/test/black.py
new file mode 100644
index 00000000..cec90a9d
--- /dev/null
+++ b/test/black.py
@@ -0,0 +1,15 @@
+# A test case sent to me by Steve White
+
+def f(self):
+ if self==1:
+ pass
+ elif self.m('fred'):
+ pass
+ elif (g==1) and (b==2):
+ pass
+ elif self.m('fred')==True:
+ pass
+ elif ((g==1) and (b==2))==True:
+ pass
+ else:
+ pass