Skip to content

Commit c436bf7

Browse files
committed
reformat with black
1 parent af272ae commit c436bf7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ def test_multiple_outfiles():
545545
out, err, exitcode = helpers.cli_call(command)
546546
assert exitcode == 0
547547

548+
548549
def test_file_variable_is_set():
549550
"""
550551
Tests that cq-cli sets the __file__ variable for the model script.
@@ -566,4 +567,4 @@ def test_file_variable_is_set():
566567
]
567568
out, err, exitcode = helpers.cli_call(command)
568569
assert exitcode == 0
569-
assert("__file__=" in out.decode())
570+
assert "__file__=" in out.decode()

tests/testdata/file_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import cadquery as cq
22

33
# print info about the __file__ variable to stdout so the test can check it
4-
if '__file__' in locals():
4+
if "__file__" in locals():
55
print(f"__file__={__file__}")
66
else:
77
print("__FILE__ not set")

0 commit comments

Comments
 (0)