old_contents: # encoding: utf-8
  from __future__ import unicode_literals
  
  import unittest
  import resources
  
  from nose.plugins.skip import SkipTest
  raise SkipTest()
  
  
  class TestInterface(unittest.TestCase):
  
      def setUp(self):
          self.fixture = resources.Resource("http://example.com")
  
      def test_copy_on_update(self):
          url2 = self.fixture.update(scheme="https")
          self.assertNotEquals(self.fixture, url2)
  
      def test_idn_ascii_encoding(self):
          ascii_url = "http://xn--bcher-kva.ch/".encode('ascii')
          url = resources.Resource(u"http://Bücher.ch/")
          self.assertEquals(url.to_ascii(), ascii_url)
  
      def test_idn_ascii_poo_encoding(self):
          ascii_url = "http://xn--ls8h.la/".encode('ascii')
          url = resources.Resource("http://💩.la/")
          self.assertEquals(url.to_ascii(), ascii_url)
  
      def test_getattr(self):
          self.assertEquals(self.fixture.scheme, 'http')
  
      def test_setattr(self):
          self.assertRaises(AttributeError, setattr, self.fixture.scheme, "")
  
new_contents: # encoding: utf-8
  from __future__ import unicode_literals
  
  import unittest
  import resources
  
  from nose.plugins.skip import SkipTest
  
  
  class TestInterface(unittest.TestCase):
  
      def setUp(self):
          raise SkipTest('old tests')
          self.fixture = resources.Resource("http://example.com")
  
      def test_copy_on_update(self):
          url2 = self.fixture.update(scheme="https")
          self.assertNotEquals(self.fixture, url2)
  
      def test_idn_ascii_encoding(self):
          ascii_url = "http://xn--bcher-kva.ch/".encode('ascii')
          url = resources.Resource(u"http://Bücher.ch/")
          self.assertEquals(url.to_ascii(), ascii_url)
  
      def test_idn_ascii_poo_encoding(self):
          ascii_url = "http://xn--ls8h.la/".encode('ascii')
          url = resources.Resource("http://💩.la/")
          self.assertEquals(url.to_ascii(), ascii_url)
  
      def test_getattr(self):
          self.assertEquals(self.fixture.scheme, 'http')
  
      def test_setattr(self):
          self.assertRaises(AttributeError, setattr, self.fixture.scheme, "")
  
subject: move the skip into setup