• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pymc-devs / pymc3 / 4064

pending completion
4064

push

travis-ci

fonnesbeck
Merge branch 'gp_classes' of github.com:pymc-devs/pymc3 into gp_classes

41 of 41 new or added lines in 1 file covered. (100.0%)

4160 of 9968 relevant lines covered (41.73%)

0.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pymc3/tests/test_text_backend.py
1
from pymc3.tests import backend_fixtures as bf
×
2
from pymc3.backends import ndarray, text
×
3

4

5
class TestText0dSampling(bf.SamplingTestCase):
×
6
    backend = text.Text
×
7
    name = 'text-db'
×
8
    shape = ()
×
9

10

11
class TestText1dSampling(bf.SamplingTestCase):
×
12
    backend = text.Text
×
13
    name = 'text-db'
×
14
    shape = 2
×
15

16

17
class TestText2dSampling(bf.SamplingTestCase):
×
18
    backend = text.Text
×
19
    name = 'text-db'
×
20
    shape = (2, 3)
×
21

22

23
class TestText0dSelection(bf.SelectionTestCase):
×
24
    backend = text.Text
×
25
    name = 'text-db'
×
26
    shape = ()
×
27

28

29
class TestText1dSelection(bf.SelectionTestCase):
×
30
    backend = text.Text
×
31
    name = 'text-db'
×
32
    shape = 2
×
33

34

35
class TestText2dSelection(bf.SelectionTestCase):
×
36
    backend = text.Text
×
37
    name = 'text-db'
×
38
    shape = (2, 3)
×
39

40

41
class TestTextDumpLoad(bf.DumpLoadTestCase):
×
42
    backend = text.Text
×
43
    load_func = staticmethod(text.load)
×
44
    name = 'text-db'
×
45
    shape = (2, 3)
×
46

47

48
class TestTextDumpFunction(bf.BackendEqualityTestCase):
×
49
    backend0 = backend1 = ndarray.NDArray
×
50
    name0 = None
×
51
    name1 = 'text-db'
×
52
    shape = (2, 3)
×
53

54
    @classmethod
×
55
    def setUpClass(cls):
56
        super(TestTextDumpFunction, cls).setUpClass()
×
57
        text.dump(cls.name1, cls.mtrace1)
×
58
        with cls.model:
×
59
            cls.mtrace1 = text.load(cls.name1)
×
60

61

62
class TestNDArrayTextEquality(bf.BackendEqualityTestCase):
×
63
    backend0 = ndarray.NDArray
×
64
    name0 = None
×
65
    backend1 = text.Text
×
66
    name1 = 'text-db'
×
67
    shape = (2, 3)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc