Skip to content

Recent Travis fail test under PYTHON_VERSION=2.7 FLOATX='float32' #3018

Closed
@junpenglao

Description

@junpenglao

See eg https://travis-ci.org/pymc-devs/pymc3/jobs/389721897

  • test_sqlite_backend.py::TestSQlite1dSampling::test_clean_interrupt <- pymc3/tests/backend_fixtures.py FAILED
self = <pymc3.tests.test_sqlite_backend.TestSQlite1dSampling object at 0x7f561ef35810>
    def test_clean_interrupt(self):
        self.record_point(0)
>       self.strace.close()
pymc3/tests/backend_fixtures.py:255: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
pymc3/backends/sqlite.py:167: in close
    self._execute_queue()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pymc3.backends.sqlite.SQLite object at 0x7f561ed61e90>
    def _execute_queue(self):
        with self.db.con:
            for varname in self.varnames:
                if not self._queue[varname]:
                    continue
                self.db.cursor.executemany(self.var_inserts[varname],
>                                          self._queue[varname])
E               InterfaceError: Error binding parameter 2 - probably unsupported type.
pymc3/backends/sqlite.py:163: InterfaceError
  • test_text_backend.py::TestText1dSelection::test_dtypes <- pymc3/tests/backend_fixtures.py FAILED
self = <pymc3.tests.test_text_backend.TestText1dSelection object at 0x7f561c368e50>
    def test_dtypes(self):
        for varname in self.test_point.keys():
            assert self.expected[0][varname].dtype == \
>                            self.mtrace.get_values(varname, chains=0).dtype
E           AssertionError
pymc3/tests/backend_fixtures.py:294: AssertionError
  • test_text_backend.py::TestText2dSelection::test_dtypes <- pymc3/tests/backend_fixtures.py FAILED
self = <pymc3.tests.test_text_backend.TestText2dSelection object at 0x7f561c2f4890>
    def test_dtypes(self):
        for varname in self.test_point.keys():
            assert self.expected[0][varname].dtype == \
>                            self.mtrace.get_values(varname, chains=0).dtype
E           AssertionError
pymc3/tests/backend_fixtures.py:294: AssertionError
  • test_text_backend.py::TestNDArrayTextEquality::test_dtype <- pymc3/tests/backend_fixtures.py FAILED
self = <pymc3.tests.test_text_backend.TestNDArrayTextEquality object at 0x7f56122940d0>
    def test_dtype(self):
        for varname in self.test_point.keys():
            assert self.mtrace0.get_values(varname, chains=0).dtype == \
>                            self.mtrace1.get_values(varname, chains=0).dtype
E           AssertionError
pymc3/tests/backend_fixtures.py:498: AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions