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

pymc-devs / pymc3 / 9386

pending completion
9386

Pull #3634

travis-ci

web-flow
WIP: refactoring the DifferentialEquation Op
+ full support for test_values
+ explicit input/output types
+ 2D return shape
+ optional return of sensitivities
+ gradient without helper Op
Pull Request #3634: [WIP] DifferentialEquation Op improvements

99 of 99 new or added lines in 3 files covered. (100.0%)

42609 of 80628 relevant lines covered (52.85%)

1.86 hits per line

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

0.0
/pymc3/tests/test_pickling.py
1
import pickle
×
2
import traceback
×
3
from .models import simple_model
×
4

5

6
class TestPickling:
×
7
    def setup_method(self):
×
8
        _, self.model, _ = simple_model()
×
9

10
    def test_model_roundtrip(self):
×
11
        m = self.model
×
12
        for proto in range(pickle.HIGHEST_PROTOCOL+1):
×
13
            try:
×
14
                s = pickle.dumps(m, proto)
×
15
                pickle.loads(s)
×
16
            except Exception:
×
17
                raise AssertionError(
×
18
                    "Exception while trying roundtrip with pickle protocol %d:\n" % proto +
19
                    ''.join(traceback.format_exc())
20
                )
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