Skip to content

Commit d6ae869

Browse files
committed
fix: code style
1 parent 3e8b714 commit d6ae869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_write_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def test_write_with_no_sync_true_on_v2_server(self, httpserver: HTTPServer):
8181
write_type=WriteType.synchronous,
8282
no_sync=True)))
8383

84-
with pytest.raises(ApiException, match=".*Server doesn't support write with no_sync=true " \
85-
"\(supported by InfluxDB 3 Core/Enterprise servers only\)."):
84+
with pytest.raises(ApiException, match=r".*Server doesn't support write with no_sync=true "
85+
r"\(supported by InfluxDB 3 Core/Enterprise servers only\)."):
8686
client.write(self.SAMPLE_RECORD)
8787

8888
self.assert_request_made(httpserver, RequestMatcher(

0 commit comments

Comments
 (0)