Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6c514bf

Browse files
Code normalization
1 parent 2679646 commit 6c514bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

testgres/operations/local_ops.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def read(self, filename, encoding=None, binary=False):
278278
return self._read__binary(filename)
279279

280280
# python behavior
281-
assert None or "abc" == "abc"
282-
assert "" or "abc" == "abc"
281+
assert (None or "abc") == "abc"
282+
assert ("" or "abc") == "abc"
283283

284284
return self._read__text_with_encoding(filename, encoding or get_default_encoding())
285285

testgres/operations/remote_ops.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ def read(self, filename, binary=False, encoding=None):
332332
return self._read__binary(filename)
333333

334334
# python behavior
335-
assert None or "abc" == "abc"
336-
assert "" or "abc" == "abc"
335+
assert (None or "abc") == "abc"
336+
assert ("" or "abc") == "abc"
337337

338338
return self._read__text_with_encoding(filename, encoding or get_default_encoding())
339339

0 commit comments

Comments
 (0)