From db154dc1cf61e47cca81549089b3d4af88dd5b49 Mon Sep 17 00:00:00 2001 From: neuroevolutus <19356702+neuroevolutus@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:33:35 -0600 Subject: [PATCH] Remove unneeded test --- scrapscript.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/scrapscript.py b/scrapscript.py index 7d791489..04ddc41e 100755 --- a/scrapscript.py +++ b/scrapscript.py @@ -1844,25 +1844,6 @@ def test_read_char_appends_to_line(self) -> None: l.read_char() self.assertEqual(l.line, "") - def test_read_token_sets_start_and_end_line_numbers(self) -> None: - l = Lexer("a b \n c d") - a = l.read_token() - b = l.read_token() - c = l.read_token() - d = l.read_token() - - self.assertEqual(a.source_extent.start.line_number, 1) - self.assertEqual(a.source_extent.end.line_number, 1) - - self.assertEqual(b.source_extent.start.line_number, 1) - self.assertEqual(b.source_extent.end.line_number, 1) - - self.assertEqual(c.source_extent.start.line_number, 2) - self.assertEqual(c.source_extent.end.line_number, 2) - - self.assertEqual(d.source_extent.start.line_number, 2) - self.assertEqual(d.source_extent.end.line_number, 2) - def test_read_token_sets_source_extents_for_variables(self) -> None: l = Lexer("aa bbbb \n ccccc ddddddd")