From c240dda9ebf9d73811c79bab30d571797d36c40a Mon Sep 17 00:00:00 2001 From: Samuel Shuert Date: Tue, 14 Oct 2025 18:40:05 +0000 Subject: [PATCH] fix: correct warnings --- python/oct10/Tables/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/oct10/Tables/main.py b/python/oct10/Tables/main.py index f456d09..79a2d56 100644 --- a/python/oct10/Tables/main.py +++ b/python/oct10/Tables/main.py @@ -148,7 +148,7 @@ def testLevel1(): # so it will raise a custom exception. error = None try: - col = table.getCol(3) + _col = table.getCol(3) except Exception as e: error = str(e) assert error == "Col 3 is out of range" @@ -186,7 +186,7 @@ def testLevel2(): # so it will raise a custom exception. error = None try: - row = table.getRow(10) + _row = table.getRow(10) except Exception as e: error = str(e) assert error == "Row 10 is out of range" @@ -199,7 +199,7 @@ def testLevel2(): # there is no such header, so it will raise a custom exception. error = None try: - i = table.getHeaderIndex("Missing") + _i = table.getHeaderIndex("Missing") except Exception as e: error = str(e) # assert(error == 'No such header: Missing') -- 2.51.2