summaryrefslogtreecommitdiffstats
path: root/python/macholib/macholib_tests/test_mach_o.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/macholib/macholib_tests/test_mach_o.py')
-rw-r--r--python/macholib/macholib_tests/test_mach_o.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/macholib/macholib_tests/test_mach_o.py b/python/macholib/macholib_tests/test_mach_o.py
new file mode 100644
index 000000000..0fbcf04b2
--- /dev/null
+++ b/python/macholib/macholib_tests/test_mach_o.py
@@ -0,0 +1,21 @@
+from macholib import mach_o
+
+import sys
+if sys.version_info[:2] <= (2,6):
+ import unittest2 as unittest
+else:
+ import unittest
+
+
+class TestMachO (unittest.TestCase):
+ # This module is just a set of struct definitions,
+ # not sure how to test those without replicating
+ # the code.
+ #
+ # The definitions will get exercised by the
+ # other tests, therefore testing is ignored
+ # for now.
+ pass
+
+if __name__ == "__main__":
+ unittest.main()