def test_seek_larger_than_2gb(self):
lo = self.conn.lobject()
offset = 1 << 32 # 4gb
self.assertRaises(
(OverflowError, psycopg2.InterfaceError, psycopg2.NotSupportedError),
lo.seek, offset, 0)
test_lobject.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录