Use TestTools' TestCase so TestSkipped gets picked up correctly.
[jelmer/dulwich-libgit2.git] / dulwich / tests / __init__.py
index 35e59565603824a4f6921cff63de0d6e0268fb92..f33f5910f299085bcaee94d8eec8a686720f20cb 100644 (file)
 
 import unittest
 
-from unittest import TestCase
+try:
+    from testtools.testcase import TestCase
+except ImportError:
+    from unittest import TestCase
 
 try:
     # If Python itself provides an exception, use that