Closed eldipa closed 4 years ago
This pr propose to replace all the f-strings by a call to format (but there are a lot of different ways to replace f-strings to something compatible with Python 3.x), one of the may blockers to run termgraph in Python 3.x (see #28 )
format
termgraph
I ran the unit tests with this:
$ python -m unittest -q tests/test_termgraph.py
And all except 3 tests pass:
test_init_args
test_calendar_heatmap_without_start_date_prints_correctly
test_check_data_stacked_with_no_color_returns_correct_result
However they don't look to be related with the fact that I ran them in Python 3.5.
I rebased and merged. Thanks!
This pr propose to replace all the f-strings by a call to
format
(but there are a lot of different ways to replace f-strings to something compatible with Python 3.x), one of the may blockers to runtermgraph
in Python 3.x (see #28 )I ran the unit tests with this:
And all except 3 tests pass:
test_init_args
test_calendar_heatmap_without_start_date_prints_correctly
test_check_data_stacked_with_no_color_returns_correct_result
However they don't look to be related with the fact that I ran them in Python 3.5.