Mercurial > hg > numerics
view tests/test_fields.py @ 114:8b5fba91dac5
add a simple mapping
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 15 Mar 2015 16:31:21 -0700 |
parents | 5b5e3a884b71 |
children |
line wrap: on
line source
#!/usr/bin/env python """ unit tests """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class fieldsUnitTest(unittest.TestCase): def test_fields(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()