Did I find the right examples for you? yes no

All Samples(44)  |  Call(42)  |  Derive(0)  |  Import(2)

src/p/y/pycogent-HEAD/tests/test_core/test_location.py   pycogent(Download)
"""
from cogent.util.unit_test import TestCase, main
from cogent.core.location import Span, Range, Point, RangeFromString, Map
 
__author__ = "Rob Knight"
    def setUp(self):
        """Define some standard Spans"""
        self.empty = Range(Span(0, 0))
        self.full = Range(Span(30, 35))
        self.overlapping = Range(Span(32, 36))
        self.inside = Range(Span(31, 32))

src/c/o/cogent-1.5.3/tests/test_core/test_location.py   cogent(Download)
"""
from cogent.util.unit_test import TestCase, main
from cogent.core.location import Span, Range, Point, RangeFromString
 
__author__ = "Rob Knight"
    def setUp(self):
        """Define some standard Spans"""
        self.empty = Range(Span(0, 0))
        self.full = Range(Span(30, 35))
        self.overlapping = Range(Span(32, 36))
        self.inside = Range(Span(31, 32))