From bf7a4445df3a4ba23f57ef2439e42c527c1fdc12 Mon Sep 17 00:00:00 2001 From: Eric Masseran Date: Fri, 16 Jul 2021 18:27:12 +0200 Subject: [PATCH] add test comment --- test/sql/test_cte.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) -- 2.47.3