Skip to content

Commit b4c28ee

Browse files
pylint: fix unnecessary-dunder-call case
Fix the only case of C2801 unnecessary-dunder-call. Part of #270
1 parent 95fe35e commit b4c28ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suites/test_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def test_07_schema_version_update(self):
456456

457457
def _run_test_schema_fetch_disable(self, con, mode=None):
458458
# Enable SQL test case for tarantool 2.* and higher.
459-
if int(self.srv.admin.tnt_version.__str__()[0]) > 1:
459+
if int(str(self.srv.admin.tnt_version)[0]) > 1:
460460
self.testing_methods['available']['execute'] = {
461461
'input': ['SELECT * FROM "tester"'],
462462
'output': [[1, None]],

0 commit comments

Comments
 (0)