Skip to content

Commit 61c2203

Browse files
authored
Merge pull request #100 from manu-chroma/test_patch
schema_salad/tests: use print() in tests
2 parents 0114153 + a082ab5 commit 61c2203

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema_salad/tests/test_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ def test_errors(self):
2727
load_and_validate(document_loader, avsc_names,
2828
unicode(get_data("tests/"+t)), True)
2929
except ValidationException as e:
30-
print "\n", e
30+
print("\n", e)
3131
raise

schema_salad/tests/test_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ def test_cache(self):
5252
loader = schema_salad.ref_resolver.Loader({})
5353
foo = "file://%s/foo.txt" % os.getcwd()
5454
loader.cache.update({foo: "hello: foo"})
55-
print loader.cache
55+
print(loader.cache)
5656
self.assertEqual({"hello": "foo"}, loader.resolve_ref("foo.txt")[0])
5757
self.assertTrue(loader.check_exists(foo))

0 commit comments

Comments
 (0)