Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(285) | Call(0) | Derive(163) | Import(122)
src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_twill.py learnpython.in.ua(Download)
from learnpython.app import pages from .common import TEST_COMMENTS, TEST_EMAIL, TEST_MESSAGE, TEST_NAME, \ TEST_PHONE, TEST_SKYPE, TEST_SUBJECT, TestCase, Twill IS_PYTHON_26 = sys.version_info[:2] == (2, 6) class TestViewsWithTwill(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_units.py SEDFitting(Download)
# -*- coding: utf-8 -*- from .. import units as pq from .common import TestCase class TestUnits(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_uncertainty.py SEDFitting(Download)
# -*- coding: utf-8 -*- from .. import units as pq from ..uncertainquantity import UncertainQuantity from .common import TestCase class TestUncertainty(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_umath.py SEDFitting(Download)
from .. import units as pq from .common import TestCase, unittest class TestUmath(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_persistence.py SEDFitting(Download)
from ..uncertainquantity import UncertainQuantity from .. import constants from .common import TestCase class TestPersistence(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_methods.py SEDFitting(Download)
# -*- coding: utf-8 -*- from .. import units as pq from .common import TestCase class TestQuantityMethods(TestCase):
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_dimensionality.py SEDFitting(Download)
from .. import units as pq from ..dimensionality import Dimensionality from .common import TestCase meter = Dimensionality({pq.m: 1})
class TestDimensionality(TestCase): def test_dimensionality_str(self): self.assertEqual(str(meter), meter_str) self.assertEqual(joule.string, joule_str)
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_conversion.py SEDFitting(Download)
# -*- coding: utf-8 -*- from .. import units as pq from .common import TestCase class TestConversion(TestCase):
class TestDefaultUnits(TestCase): def test_default_length(self): pq.set_default_units(length='mm') self.assertQuantityEqual(pq.m.simplified, 1000*pq.mm)
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_constants.py SEDFitting(Download)
# -*- coding: utf-8 -*- from .. import units as pq from .. import constants as pc from .common import TestCase
src/s/e/SEDFitting-HEAD/python/tools/units/_quantities/tests/test_comparison.py SEDFitting(Download)
from .. import units as pq from .common import TestCase class TestComparison(TestCase):
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next