From 31c53d8d13c3cb321138ca808b5accf1a7ad613a Mon Sep 17 00:00:00 2001 From: Genarito Date: Tue, 23 Nov 2021 22:30:31 -0300 Subject: [PATCH] Fixed some comments --- gura/Parser.py | 2 +- tests/exception_report/test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gura/Parser.py b/gura/Parser.py index d384662..d408c7a 100644 --- a/gura/Parser.py +++ b/gura/Parser.py @@ -2,7 +2,7 @@ class GuraError(Exception): - """General Gura error, with position and line""" + """General Gura error, with position, line and a custom message""" def __init__(self, pos: int, line: int, msg: str, *args): self.pos = pos self.line = line diff --git a/tests/exception_report/test.py b/tests/exception_report/test.py index a6aa32d..ce76ca6 100644 --- a/tests/exception_report/test.py +++ b/tests/exception_report/test.py @@ -45,7 +45,7 @@ def test_line_and_pos_1(self): self.__test_fail('parsing_error_1.ura', ParseError, error_pos=0, error_line=1) def test_line_and_pos_2(self): - """Tests error position and line at end""" + """Tests error position and line at the end of file""" self.__test_fail('parsing_error_2.ura', ParseError, error_pos=10, error_line=1) def test_line_and_pos_3(self):