summaryrefslogtreecommitdiff
path: root/subvertpy/tests/test_repos.py
diff options
context:
space:
mode:
Diffstat (limited to 'subvertpy/tests/test_repos.py')
-rw-r--r--subvertpy/tests/test_repos.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/subvertpy/tests/test_repos.py b/subvertpy/tests/test_repos.py
index ed5f2067..d748df91 100644
--- a/subvertpy/tests/test_repos.py
+++ b/subvertpy/tests/test_repos.py
@@ -117,7 +117,10 @@ class TestRepository(TestCaseInTempDir):
def test_pack_fs(self):
r = repos.create(os.path.join(self.test_dir, "foo"))
- r.pack_fs()
+ if repos.api_version() < (1, 6):
+ self.assertRaises(NotImplementedError, r.pack_fs)
+ else:
+ r.pack_fs()
def test_paths_changed(self):
repos.create(os.path.join(self.test_dir, "foo"))