Skip to content

Commit

Permalink
Removed whitespaces from blank line, and added whitespace between lis…
Browse files Browse the repository at this point in the history
…t items
  • Loading branch information
cmollen committed Mar 22, 2018
1 parent 9903169 commit d374d37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ def get_historical_klines(self, symbol, interval, start_str, end_str=None):
# establish first available start timestamp
first_valid_ts = self._get_earliest_valid_timestamp(symbol, interval)
start_ts = max(start_ts, first_valid_ts)

# if an end time was passed convert it
end_ts = None
if end_str:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_historical_klines.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
def test_exact_amount():
"""Test Exact amount returned"""

first_available_res = [[1500004800000,"0.00005000","0.00005300","0.00001000","0.00004790","663152.00000000",1500004859999,"30.55108144",43,"559224.00000000","25.65468144","83431971.04346950"]]
first_available_res = [[1500004800000, "0.00005000", "0.00005300", "0.00001000", "0.00004790", "663152.00000000", 1500004859999, "30.55108144", 43, "559224.00000000", "25.65468144", "83431971.04346950"]]

first_res = []
row = [1519892340000,"0.00099400","0.00099810","0.00099400","0.00099810","4806.04000000",1519892399999,"4.78553253",154,"1785.14000000","1.77837524","0"]
row = [1519892340000, "0.00099400", "0.00099810", "0.00099400", "0.00099810", "4806.04000000", 1519892399999, "4.78553253", 154, "1785.14000000", "1.77837524", "0"]

for i in range(0, 500):
first_res.append(row)
Expand Down

0 comments on commit d374d37

Please sign in to comment.