[class libraries] drop ONLY_1_1
[mono.git] / mcs / class / Managed.Windows.Forms / Test / System.Windows.Forms / PaintEventArgsTest.cs
index ea408644e70e4fc0644bede9870e4a58ba718f5c..622adbdf90a756c8bfb81b87bb6ac92375492b62 100644 (file)
@@ -73,9 +73,6 @@ namespace MonoTests.System.Windows.Forms {
                }
 
                [Test]
-#if ONLY_1_1
-               [ExpectedException (typeof (ArgumentException))]
-#endif
                public void Dispose ()
                {
                        PaintEventArgs pea = new PaintEventArgs (default_graphics, default_rect);
@@ -85,9 +82,6 @@ namespace MonoTests.System.Windows.Forms {
                }
 
                [Test]
-#if ONLY_1_1
-               [ExpectedException (typeof (ArgumentException))]
-#endif
                public void IDisposable_IDispose ()
                {
                        Bitmap bmp = new Bitmap (1, 1);