summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-04-11 12:43:47 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-10-30 14:21:53 -0400
commitf05d3ddba4c1edae00dd863af60e8fbb13eb7091 (patch)
treebe62af61608a847364b0f8322643a2a20a418883 /test
parenta291457664d3b4ef7e0b4a29110749674ec0da75 (diff)
downloadsqlalchemy-f05d3ddba4c1edae00dd863af60e8fbb13eb7091.tar.gz
initial 2.0 setup
Adapted from 55e64f857daeb6057b85ff67297a774b when we previously started a 2.0 branch. Change-Id: Ib5af75df94b23104eebe0e918adcf979d798ea3b
Diffstat (limited to 'test')
-rw-r--r--test/base/test_tutorials.py8
-rw-r--r--test/orm/test_cascade.py6
2 files changed, 0 insertions, 14 deletions
diff --git a/test/base/test_tutorials.py b/test/base/test_tutorials.py
index 494b8a0f6..f2b577216 100644
--- a/test/base/test_tutorials.py
+++ b/test/base/test_tutorials.py
@@ -6,7 +6,6 @@ import os
import re
import sys
-from sqlalchemy import testing
from sqlalchemy.testing import config
from sqlalchemy.testing import fixtures
@@ -102,13 +101,6 @@ class DocTest(fixtures.TestBase):
"tutorial/orm_related_objects.rst",
)
- def test_orm(self):
- self._run_doctest("orm/tutorial.rst")
-
- @testing.emits_warning()
- def test_core(self):
- self._run_doctest("core/tutorial.rst")
-
def test_core_operators(self):
self._run_doctest("core/operators.rst")
diff --git a/test/orm/test_cascade.py b/test/orm/test_cascade.py
index cd7e7c111..3617e3a5d 100644
--- a/test/orm/test_cascade.py
+++ b/test/orm/test_cascade.py
@@ -1408,12 +1408,6 @@ class NoSaveCascadeFlushTest(_fixtures.FixtureTest):
with testing.expect_deprecated(
'"Address" object is being merged into a Session along '
'the backref cascade path for relationship "User.addresses"'
- # link added to this specific warning
- r".*Background on this error at: "
- r"https://sqlalche.me/e/14/s9r1"
- # link added to all RemovedIn20Warnings
- r".*Background on SQLAlchemy 2.0 at: "
- r"https://sqlalche.me/e/b8d9"
):
a1.user = u1
sess.add(a1)