Skip to content

Commit

Permalink
Address some deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Feb 18, 2024
1 parent 336eb6f commit 08812fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/base_sqla.py
@@ -1,7 +1,7 @@
from datetime import datetime
from sqlalchemy import *
from sqlalchemy.orm import scoped_session, sessionmaker, relationship
from sqlalchemy.ext.declarative import declarative_base
from datetime import datetime
from sqlalchemy.orm import declarative_base

maker = sessionmaker(autoflush=True, autocommit=False)
DBSession = scoped_session(maker)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fields_basic.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import shutil
import tempfile, os, cgi, base64
import tempfile, os, base64
import unittest
from sqlalchemy.schema import Column
from sqlalchemy.types import Unicode, Integer
Expand Down Expand Up @@ -127,4 +127,4 @@ def test_storage_does_not_exists(self):
'missing_storage')
DBSession.add(doc)
DBSession.flush()
DBSession.commit()
DBSession.commit()

0 comments on commit 08812fa

Please sign in to comment.