summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2018-09-09 17:49:35 +0000
committerrsiddharth <rsd@gnu.org>2018-09-09 17:52:29 +0000
commit073e855f8de829479d8ebce3001c9985f34a480c (patch)
tree6f12cce389d38621c1ecae063eb50e3bbebfb0d7
parent1d64215d615847e21f8605664440c2caa9df0f45 (diff)
test_lps_gen.py: print -> print()
* tests/test_lps_gen.py (TestLPiCal.test_gen_ical) (TestLPiCal.test_gen_ical_sessions_only) (TestLPS.test_RenderHTML) (TestLPS.test_RenderHTML_sessions_only): Update methods.
-rw-r--r--tests/test_lps_gen.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_lps_gen.py b/tests/test_lps_gen.py
index 5afb8ef..b6d37be 100644
--- a/tests/test_lps_gen.py
+++ b/tests/test_lps_gen.py
@@ -309,13 +309,13 @@ class TestLPiCal(object):
def test_gen_ical(self):
"""Testing LPiCal.gen_ical.
"""
- print self.lp_ical.gen_ical()
+ print(self.lp_ical.gen_ical())
def test_gen_ical_sessions_only(self):
"""Testing LPiCal.gen_ical with sessions only schedule.
"""
- print LPiCal(self.lps_dict_s_only, '2019').gen_ical()
+ print(LPiCal(self.lps_dict_s_only, '2019').gen_ical())
def test_to_ical(self):
@@ -528,7 +528,7 @@ class TestLPS(object):
"""Testing `RenderHTML` function with LP schedule
"""
lps_html = RenderHTML(self.lps_dict, self.SCH_TEMPLATE)
- print lps_html # TODO: Scrape and test html output
+ print(lps_html) # TODO: Scrape and test html output
def test_RenderHTML_sessions_only(self):
@@ -539,7 +539,7 @@ class TestLPS(object):
lps_html = RenderHTML(self.markdown(md_content),
self.SCH_TEMPLATE)
- print lps_html # TODO: Scrape and test html output
+ print(lps_html) # TODO: Scrape and test html output
@raises(SystemExit)
def test_RenderHTML_nonexistent_template(self):
@@ -940,7 +940,7 @@ class TestLPSpeakers(object):
"""Testing `RenderHTML` function with LP speakers
"""
lps_html = RenderHTML(self.lpspeakers_dict, self.SPEAKERS_TEMPLATE)
- print lps_html # TODO: Scrape and test html output.
+ print(lps_html) # TODO: Scrape and test html output.
def teardown(self):