]> 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:28 +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 fdacdc80c0090d97e1ed44c462147ac76e1618a1..9f7735d2b4922d5ffd8605feabfc5c20fb57f383 100644 (file)
@@ -432,11 +432,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