Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 481634
Collapse All | Expand All

(-)test/ext/test_serializer.py (+1 lines)
Lines 125-130 Link Here
125
        eq_(list(q2.values(User.id, User.name)), [(9, 'fred')])
126
        eq_(list(q2.values(User.id, User.name)), [(9, 'fred')])
126
127
127
    @testing.requires.bulletproof_pickle
128
    @testing.requires.bulletproof_pickle
129
    @testing.skip_if(lambda: util.pypy, "pypy unsupported, fixed in 0.9")
128
    def test_query_three(self):
130
    def test_query_three(self):
129
        ua = aliased(User)
131
        ua = aliased(User)
130
        q = \
132
        q = \
(-)test/orm/test_unitofwork.py (-1 / +4 lines)
Lines 16-21 Link Here
16
from sqlalchemy.testing import fixtures
16
from sqlalchemy.testing import fixtures
17
from test.orm import _fixtures
17
from test.orm import _fixtures
18
from sqlalchemy.testing.assertsql import AllOf, CompiledSQL
18
from sqlalchemy.testing.assertsql import AllOf, CompiledSQL
19
from sqlalchemy import testing, util
19
20
20
class UnitOfWorkTest(object):
21
class UnitOfWorkTest(object):
21
    pass
22
    pass
Lines 158-163 Link Here
158
159
159
    @testing.fails_on('mssql+pyodbc',
160
    @testing.fails_on('mssql+pyodbc',
160
                      'pyodbc returns a non unicode encoding of the results description.')
161
                      'pyodbc returns a non unicode encoding of the results description.')
162
    @testing.skip_if(lambda: util.pypy, "pypy unsupported, fixed in 0.9")
161
    def test_mapping(self):
163
    def test_mapping(self):
162
        t2, t1 = self.tables.t2, self.tables.t1
164
        t2, t1 = self.tables.t2, self.tables.t1
163
165
Lines 197-202 Link Here
197
199
198
    @testing.fails_on('mssql+pyodbc',
200
    @testing.fails_on('mssql+pyodbc',
199
                      'pyodbc returns a non unicode encoding of the results description.')
201
                      'pyodbc returns a non unicode encoding of the results description.')
202
    @testing.skip_if(lambda: util.pypy, "pypy unsupported, fixed in 0.9")
200
    def test_inheritance_mapping(self):
203
    def test_inheritance_mapping(self):
201
        t2, t1 = self.tables.t2, self.tables.t1
204
        t2, t1 = self.tables.t2, self.tables.t1
202
205
Lines 2518-2521 Link Here
2518
        s.commit()
2521
        s.commit()
2519
2522
2520
        t.col1 = "1"
2523
        t.col1 = "1"
2521
        s.commit()
2524
        s.commit()
(-)test/sql/test_unicode.py (+3 lines)
Lines 3-8 Link Here
3
from sqlalchemy import *
3
from sqlalchemy import *
4
from sqlalchemy.testing import fixtures, engines
4
from sqlalchemy.testing import fixtures, engines
5
from sqlalchemy import testing
5
from sqlalchemy import testing
6
import unittest, sys
6
from sqlalchemy.testing.engines import utf8_engine
7
from sqlalchemy.testing.engines import utf8_engine
7
from sqlalchemy.sql import column
8
from sqlalchemy.sql import column
8
from sqlalchemy.testing.schema import Table, Column
9
from sqlalchemy.testing.schema import Table, Column
Lines 71-76 Link Here
71
        metadata.drop_all()
72
        metadata.drop_all()
72
        del unicode_bind
73
        del unicode_bind
73
74
75
    @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy unsupported, fixed in 0.9") 
74
    def test_insert(self):
76
    def test_insert(self):
75
        t1.insert().execute({u'méil':1, u'\u6e2c\u8a66':5})
77
        t1.insert().execute({u'méil':1, u'\u6e2c\u8a66':5})
76
        t2.insert().execute({'a':1, 'b':1})
78
        t2.insert().execute({'a':1, 'b':1})
Lines 83-88 Link Here
83
        assert t2.select().execute().fetchall() == [(1, 1)]
85
        assert t2.select().execute().fetchall() == [(1, 1)]
84
        assert t3.select().execute().fetchall() == [(1, 5, 1, 1)]
86
        assert t3.select().execute().fetchall() == [(1, 5, 1, 1)]
85
87
88
    @unittest.skipIf(hasattr(sys, 'pypy_version_info'), "pypy unsupported, fixed in 0.9")
86
    def test_reflect(self):
89
    def test_reflect(self):
87
        t1.insert().execute({u'méil':2, u'\u6e2c\u8a66':7})
90
        t1.insert().execute({u'méil':2, u'\u6e2c\u8a66':7})
88
        t2.insert().execute({'a':2, 'b':2})
91
        t2.insert().execute({'a':2, 'b':2})
(-)lib/sqlalchemy/testing/suite/test_insert.py (-1 / +2 lines)
Lines 4-10 Link Here
4
from ..assertions import eq_
4
from ..assertions import eq_
5
from .. import engines
5
from .. import engines
6
6
7
from sqlalchemy import Integer, String, select, util
7
from sqlalchemy import Integer, String, select, testing, util
8
8
9
from ..schema import Table, Column
9
from ..schema import Table, Column
10
10
Lines 59-64 Link Here
59
    @exclusions.fails_if(lambda: lambda: util.pypy, "lastrowid not maintained after "
59
    @exclusions.fails_if(lambda: lambda: util.pypy, "lastrowid not maintained after "
60
                            "connection close")
60
                            "connection close")
61
    @requirements.dbapi_lastrowid
61
    @requirements.dbapi_lastrowid
62
    @testing.skip_if(lambda: util.pypy, "pypy unsupported, fixed in 0.9")
62
    def test_native_lastrowid_autoinc(self):
63
    def test_native_lastrowid_autoinc(self):
63
        r = config.db.execute(
64
        r = config.db.execute(
64
            self.tables.autoinc_pk.insert(),
65
            self.tables.autoinc_pk.insert(),

Return to bug 481634