On 6/14/15 7:29 AM, Fayaz Yusuf Khan wrote:
On Saturday 13 Jun 2015 7:42:51 AM Mike Bayer wrote:
if that is the only test failing I wouldn't worry too hard. if you
look at the test, you'll see this comment:
# fails on newer versions of pysqlite due to unusual memory behvior
# in pysqlite itself. background at:
# http://thread.gmane.org/gmane.comp.python.db.pysqlite.user/2290
In fact there's some hardcoded logic to help with this test that is
hardcoded to pysqlite, try this patch:
--- a/test/aaa_profiling/test_memusage.py
+++ b/test/aaa_profiling/test_memusage.py
@@ -45,7 +45,8 @@ def profile_memory(maxtimes=50):
# tests under 50 iterations and ideally about ten, so
# just filter them out so that we get a "flatline" more
quickly.
- if testing.against("sqlite+pysqlite"):
+ if testing.against("sqlite+pysqlite") or \
+ testing.against("sqlite+pysqlcipher"):
return [o for o in gc.get_objects()
if not isinstance(o, weakref.ref)]
else:
What about these?
if these all work with the default pysqlcipher then it's likely these
are bugs of some kind in whatever version you're working with, not sure.
====================================================== short test summary info
=======================================================
FAIL test/dialect/test_sqlite.py::InsertTest::()::test_empty_insert_pk4
FAIL test/dialect/test_suite.py::ComponentReflectionTest_sqlite_pysqlcipher::
()::test_get_table_names
FAIL test/dialect/test_suite.py::ComponentReflectionTest_sqlite_pysqlcipher::
()::test_get_table_names_fks
FAIL test/dialect/test_suite.py::ComponentReflectionTest_sqlite_pysqlcipher::
()::test_get_tables_and_views
FAIL test/engine/test_reflection.py::ReflectionTest_sqlite_pysqlcipher::
()::test_reflect_all
FAIL test/engine/test_reflection.py::ReflectionTest_sqlite_pysqlcipher::
()::test_reflect_all_with_views
FAIL test/engine/test_reflection.py::UnicodeReflectionTest_sqlite_pysqlcipher::
()::test_basic
FAIL test/engine/test_reflection.py::UnicodeReflectionTest_sqlite_pysqlcipher::
()::test_get_names
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 25
failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================== 8 failed, 3115 passed, 611 skipped, 17
error in 1919.33 seconds ===================================
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.