mirror of
https://github.com/python-escpos/python-escpos
synced 2025-12-02 09:43:30 +00:00
reformat codebase
This commit is contained in:
@@ -11,6 +11,7 @@ def instance():
|
||||
socket.socket.connect = mock.Mock()
|
||||
return printer.Network("localhost")
|
||||
|
||||
|
||||
def test_close_without_open(instance):
|
||||
"""try to close without opening (should fail gracefully)
|
||||
|
||||
@@ -20,4 +21,4 @@ def test_close_without_open(instance):
|
||||
(if possible, this should not raise)
|
||||
"""
|
||||
instance.close()
|
||||
instance.close()
|
||||
instance.close()
|
||||
|
||||
Reference in New Issue
Block a user