move tests to tests subpackage
This commit is contained in:
parent
b717ff089c
commit
fdda6ab6eb
|
@ -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
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
'''
|
||||
__init__.py
|
||||
(c) Will Roberts 18 February, 2015
|
||||
|
||||
pytimeparse.tests module
|
||||
'''
|
|
@ -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):
|
Loading…
Reference in New Issue