moved skipunless svn to setup function
@@ -1838,9 +1838,12 @@ class SVNToolTestsBasicOldVersion(SVNToolTestsBasic):
@attr("slow")
@attr('svn')
-@unittest.skipUnless(SVN.get_version() >= SVN.API_CHANGE_VERSION, "SVN::is_pristine not implemented")
class SVNToolTestsPristine(SVNLocalRepoTestCase):
+ def setUp(self):
+ unittest.skipUnless(SVN.get_version() >= SVN.API_CHANGE_VERSION,
+ "SVN::is_pristine not implemented")
+
def test_checkout(self):
svn = SVN(folder=self.gimme_tmp())
svn.checkout(url=self.repo_url)
