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')