Skip to content

Commit

Permalink
remove ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Mar 22, 2024
1 parent 8f05894 commit 15f4c2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/as_python_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ def test_long_list(self) -> None:

def test_invalid_type(self) -> None:
with self.assertRaises(ValueError):
SExp.to(dummy_class) # type: ignore[arg-type]
SExp.to(dummy_class)

def test_invalid_tuple(self) -> None:
with self.assertRaises(ValueError):
SExp.to((dummy_class, dummy_class)) # type: ignore[arg-type]
SExp.to((dummy_class, dummy_class))

with self.assertRaises(ValueError):
SExp.to((dummy_class, dummy_class, dummy_class)) # type: ignore[arg-type]
SExp.to((dummy_class, dummy_class, dummy_class))

def test_clvm_object_tuple(self) -> None:
o1 = CLVMObject(b"foo")
Expand Down
2 changes: 1 addition & 1 deletion tests/to_sexp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_empty_list_conversions(self) -> None:

def test_eager_conversion(self) -> None:
with self.assertRaises(ValueError):
SExp.to(("foobar", (1, {}))) # type: ignore[arg-type]
SExp.to(("foobar", (1, {})))

def test_convert_atom(self) -> None:
assert convert_atom_to_bytes(0x133742) == bytes([0x13, 0x37, 0x42])
Expand Down

0 comments on commit 15f4c2e

Please sign in to comment.