mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
improve type annotations in tests (#613)
This commit is contained in:
@@ -13,7 +13,7 @@ import tempfile
|
||||
import pytest
|
||||
|
||||
|
||||
def test_instantiation():
|
||||
def test_instantiation() -> None:
|
||||
"""test the instantiation of a escpos-printer class"""
|
||||
# inject an environment variable that points to an empty capabilities file
|
||||
os.environ["ESCPOS_CAPABILITIES_FILE"] = tempfile.NamedTemporaryFile().name
|
||||
|
Reference in New Issue
Block a user