Remove ugly pprints

This commit is contained in:
Gerald Lonlas 2018-03-02 22:20:26 +08:00
parent bc8ca491cd
commit 8bd0f4d0d7
4 changed files with 0 additions and 14 deletions

View File

@ -253,10 +253,6 @@ class Backtesting(object):
# Print timeframe
min_date, max_date = self.get_timeframe(preprocessed)
import pprint
pprint.pprint(min_date)
pprint.pprint(max_date)
self.logger.info(
'Measuring data from %s up to %s (%s days)..',
min_date.isoformat(),

View File

@ -109,8 +109,6 @@ class Telegram(RPC):
if not self.is_enabled():
return
import pprint
pprint.pprint(self._updater.stop.call_count)
self._updater.stop()
def is_enabled(self) -> bool:

View File

@ -186,10 +186,6 @@ def test_setup_configuration_with_arguments(mocker, default_conf, caplog) -> Non
assert 'refresh_pairs'in config
assert tt.log_has('Parameter -r/--refresh-pairs-cached detected ...', caplog.record_tuples)
import pprint
pprint.pprint(caplog.record_tuples)
pprint.pprint(config['timerange'])
assert 'timerange' in config
assert tt.log_has(
'Parameter --timerange detected: {} ...'.format(config['timerange']),

View File

@ -259,10 +259,6 @@ def test_setup_configuration_with_arguments(mocker, default_conf, caplog) -> Non
assert 'refresh_pairs'in config
assert tt.log_has('Parameter -r/--refresh-pairs-cached detected ...', caplog.record_tuples)
import pprint
pprint.pprint(caplog.record_tuples)
pprint.pprint(config['timerange'])
assert 'timerange' in config
assert tt.log_has(
'Parameter --timerange detected: {} ...'.format(config['timerange']),