move tests to tests subpackage

This commit is contained in:
Will Roberts 2015-02-18 13:34:41 +01:00
parent b717ff089c
commit fdda6ab6eb
3 changed files with 12 additions and 2 deletions

View File

@ -25,4 +25,4 @@ except IOError as ex:
__version__ = "unknown (%s)" % ex
# import top-level functionality
from .timeparse import timeparse
from .timeparse import timeparse as parse

View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
__init__.py
(c) Will Roberts 18 February, 2015
pytimeparse.tests module
'''

View File

@ -8,9 +8,10 @@ testtimeparse.py
Unit tests for the `timeparse` module.
'''
from __future__ import absolute_import
import doctest
import re
from pytimeparse import timeparse
from .. import timeparse
import unittest
class TestTimeparse(unittest.TestCase):