From 251b87da35d1f8f8d1e4b2eeda8e517f20dac7a3 Mon Sep 17 00:00:00 2001 From: Kyle Wilcox Date: Thu, 2 Jul 2015 13:25:51 -0400 Subject: [PATCH] Change prints to use the function call (py3) --- docs/en/index.rst | 4 ++-- tests/doctests/sos_20_52N_demo.txt | 4 ++-- tests/doctests/sos_20_52n_geoviqua.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index c44d403ad..ab801aa4c 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -319,8 +319,8 @@ Search for bird data: >>> csw.results {'matches': 101, 'nextrecord': 21, 'returned': 20} >>> for rec in csw.records: - ... print csw.records[rec].title - ... + ... print(csw.records[rec].title) + ... ALLSPECIES NatureServe Canada References Bird Studies Canada - BirdMap WMS diff --git a/tests/doctests/sos_20_52N_demo.txt b/tests/doctests/sos_20_52N_demo.txt index b52097d51..71601a6a6 100644 --- a/tests/doctests/sos_20_52N_demo.txt +++ b/tests/doctests/sos_20_52N_demo.txt @@ -3,8 +3,8 @@ >>> from owslib.sos import SensorObservationService >>> service = SensorObservationService('http://sensorweb.demo.52north.org/52n-sos-webapp/sos/kvp',version='2.0.0') >>> for content in service.contents: -... print content -... +... print(content) +... test1 http://www.52north.org/test/offering/8 http://www.52north.org/test/offering/9 diff --git a/tests/doctests/sos_20_52n_geoviqua.txt b/tests/doctests/sos_20_52n_geoviqua.txt index 175672538..1838249d2 100644 --- a/tests/doctests/sos_20_52n_geoviqua.txt +++ b/tests/doctests/sos_20_52n_geoviqua.txt @@ -7,8 +7,8 @@ >>> service = SensorObservationService('http://geoviqua.dev.52north.org/SOS-Q/sos/kvp',version='2.0.0') >>> for content in service.contents: -... print content -... +... print(content) +... http://www.52north.org/test/offering/9 http://kli.uni-muenster.de/stations/rks/observations http://geoviqua.dev.52north.org/procedures/ws2500