potiuk commented on code in PR #27264:
URL: https://github.com/apache/airflow/pull/27264#discussion_r1199598231


##########
tests/decorators/test_python.py:
##########
@@ -121,6 +121,9 @@ def t3(  # type: ignore[empty-body]
                 ...
 
             line = sys._getframe().f_lineno - 6 if PY38 else 
sys._getframe().f_lineno - 3
+            if PY311:
+                # extra line explaining the error location in Py311

Review Comment:
   Also caused by 
https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-pep657



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to