Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Oct 21, 2021
1 parent f8ff895 commit c0cf6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_WriteApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def test_write_empty_data(self):

from distutils.version import LooseVersion
version = self.client.version()
if version != 'nightly' and LooseVersion(version) <= LooseVersion("2.0.8"):
if 'nightly' not in version and LooseVersion(version) <= LooseVersion("2.0.8"):
with self.assertRaises(ApiException) as cm:
self.write_client.write(bucket.name, record="")
exception = cm.exception
Expand Down

0 comments on commit c0cf6e4

Please sign in to comment.