Skip to content

Commit ba9a8a8

Browse files
committed
run formatter
1 parent 2461cdd commit ba9a8a8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/conftest.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
# If there is an integration test environment variable set, we must remove the
1313
# first path from the sys.path so we can import the wheel instead
1414
if os.getenv("TEMPORAL_INTEGRATION_TEST"):
15-
assert sys.path[0] == os.getcwd(), (
16-
"Expected first sys.path to be the current working dir"
17-
)
15+
assert (
16+
sys.path[0] == os.getcwd()
17+
), "Expected first sys.path to be the current working dir"
1818
sys.path.pop(0)
1919
# Import temporalio and confirm it is prefixed with virtual env
2020
import temporalio
2121

22-
assert temporalio.__file__.startswith(sys.prefix), (
23-
f"Expected {temporalio.__file__} to be in {sys.prefix}"
24-
)
22+
assert temporalio.__file__.startswith(
23+
sys.prefix
24+
), f"Expected {temporalio.__file__} to be in {sys.prefix}"
2525

2626
# Unless specifically overridden, we expect tests to run under protobuf 4.x/5.x lib
2727
import google.protobuf
2828

2929
protobuf_version = google.protobuf.__version__
3030
if os.getenv("TEMPORAL_TEST_PROTO3"):
31-
assert protobuf_version.startswith("3."), (
32-
f"Expected protobuf 3.x, got {protobuf_version}"
33-
)
31+
assert protobuf_version.startswith(
32+
"3."
33+
), f"Expected protobuf 3.x, got {protobuf_version}"
3434
else:
3535
assert (
3636
protobuf_version.startswith("4.")

0 commit comments

Comments
 (0)