aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestsRunner.py
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-12-24 16:56:11 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-12-24 16:56:11 +0100
commitf178386b9ec255d7456977bb23b205802a0452e7 (patch)
tree5d76b10274b6013d20af5ddf9f8b2108cc43d614 /test/TestsRunner.py
parent27f94886b6c043609366dd2f5604566d1264852d (diff)
downloadpyexiv2-f178386b9ec255d7456977bb23b205802a0452e7.tar.gz
is_fraction and make_fraction: convenience functions to handle transparently
the conditional availability of the fractions module in the standard library (Python ≥ 2.6).
Diffstat (limited to 'test/TestsRunner.py')
-rwxr-xr-xtest/TestsRunner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/TestsRunner.py b/test/TestsRunner.py
index 198bb27..ba5162c 100755
--- a/test/TestsRunner.py
+++ b/test/TestsRunner.py
@@ -38,7 +38,7 @@ from xmp import TestXmpTag, TestXmpNamespaces
from metadata import TestImageMetadata
from buffer import TestBuffer
from encoding import TestEncodings
-from utils import TestConversions
+from utils import TestConversions, TestFractions
from usercomment import TestUserCommentReadWrite, TestUserCommentAdd
from pickling import TestPicklingTags
@@ -58,6 +58,7 @@ def run_unit_tests():
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestBuffer))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestEncodings))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestConversions))
+ suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestFractions))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestUserCommentReadWrite))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestUserCommentAdd))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestPicklingTags))