diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-12-24 16:56:11 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-12-24 16:56:11 +0100 |
commit | f178386b9ec255d7456977bb23b205802a0452e7 (patch) | |
tree | 5d76b10274b6013d20af5ddf9f8b2108cc43d614 /test/TestsRunner.py | |
parent | 27f94886b6c043609366dd2f5604566d1264852d (diff) | |
download | pyexiv2-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-x | test/TestsRunner.py | 3 |
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)) |