File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 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
1414if 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
2727import google .protobuf
2828
2929protobuf_version = google .protobuf .__version__
3030if 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 } "
3434else :
3535 assert (
3636 protobuf_version .startswith ("4." )
You can’t perform that action at this time.
0 commit comments