]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix newly found rst issue
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Dec 2019 01:01:23 +0000 (20:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 31 Dec 2019 01:02:37 +0000 (20:02 -0500)
Likely due to new versions flake8-rst-docstrings or similar,
repair an incorrectly formatted code example in a doc string
causing all the gerrits to fail.

Change-Id: Ib2b242f435005a9e075315881c30c4a599d322e7

test/orm/test_relationships.py

index 7e20399e6875a706ac035a27e4fc1b0956f10bf9..0dc74ebd47591a8b8264be20ef965aa076fb3377 100644 (file)
@@ -428,11 +428,11 @@ class DirectSelfRefFKTest(fixtures.MappedTest, AssertsCompiledSQL):
 
     this is an **extremely** unusual case::
 
-    Entity
-    ------
-     path -------+
-       ^         |
-       +---------+
+        Entity
+        ------
+         path -------+
+           ^         |
+           +---------+
 
     In this case, one-to-many and many-to-one are no longer accurate.
     Both relationships return collections.   I'm not sure if this is a good