fixed test data
authorEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Mon, 13 Jan 2014 11:12:54 +0000 (15:12 +0400)
committerEkaterina Tuzova <Ekaterina.Tuzova@jetbrains.com>
Mon, 13 Jan 2014 11:12:54 +0000 (15:12 +0400)
python/testData/quickFixes/AddFieldQuickFixTest/addFieldAddConstructor_after.py
python/testData/quickFixes/AddFieldQuickFixTest/addFieldFromInstance_after.py
python/testData/quickFixes/AddFieldQuickFixTest/addFieldFromMethod_after.py

index 4125368868db7af7ac1fb8c63e947c7285fee7cf..881dd8adfc8e5bb1e7089a2ba1a8a705a2085aa8 100644 (file)
@@ -5,8 +5,8 @@ class A:
 
 class B(A):
     def __init__(self, a, b):
-        A.__init__(self, a, b)
         self.x = None
+        A.__init__(self, a, b)
 
     def foo(self):
         return self.x
index 686290338cf558ae9c9b57a4e5549ece596ec0d9..7027a3993765f7b7537c7920280f58291f9ef798 100644 (file)
@@ -1,8 +1,7 @@
 class A:
   def __init__(self):
-    self.x = 1
     self.y = None
-
+    self.x = 1
 
 a = A()
 a.y+1
index 3ac2f7ecd20140c8385accef7b49a19d11e8d5a1..c0ce40fe9e03a42c49e14e4ac908841e42910e7a 100644 (file)
@@ -1,7 +1,7 @@
 class A:
   def __init__(self):
-    self.x = 1
     self.y = None
+    self.x = 1
 
   def foo(self):
     a = self.y