From: Eric Masseran Date: Fri, 16 Jul 2021 16:27:12 +0000 (+0200) Subject: add test comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7a4445df3a4ba23f57ef2439e42c527c1fdc12;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add test comment --- diff --git a/test/sql/test_cte.py b/test/sql/test_cte.py index 72e3f506e8..2d19fd05dd 100644 --- a/test/sql/test_cte.py +++ b/test/sql/test_cte.py @@ -1433,6 +1433,12 @@ class NestingCTETest(fixtures.TestBase, AssertsCompiledSQL): ) def test_double_nesting_cte_in_cte(self): + """ + Validate that the SELECT in the 2nd nesting CTE does not render + the 1st CTE. + + It implies that nesting CTE level is taken in account. + """ select_1_cte = select([literal(1).label("inner_cte")]).cte( "nesting_1", nesting=True )