Fix variable name typo

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
Dave Pearson
2023-02-20 21:25:12 +00:00
committed by GitHub
parent e8e00b1920
commit e666ee7286

View File

@@ -1221,8 +1221,8 @@ class TestTypeNames:
assert len(stylesheet.rules) == 1 assert len(stylesheet.rules) == 1
def test_combined_type_starts_with_number(self): def test_combined_type_starts_with_number(self):
for seperator in " >,": for separator in " >,":
stylesheet = Stylesheet() stylesheet = Stylesheet()
stylesheet.add_source(f"StartType {seperator} 1TestType {{}}") stylesheet.add_source(f"StartType {separator} 1TestType {{}}")
with pytest.raises(TokenError): with pytest.raises(TokenError):
stylesheet.parse() stylesheet.parse()