Skip to content

Commit

Permalink
schema_salad/tests: use print() in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manu-chroma committed Mar 19, 2017
1 parent 0114153 commit a082ab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema_salad/tests/test_errors.py
Expand Up @@ -27,5 +27,5 @@ def test_errors(self):
load_and_validate(document_loader, avsc_names,
unicode(get_data("tests/"+t)), True)
except ValidationException as e:
print "\n", e
print("\n", e)
raise
2 changes: 1 addition & 1 deletion schema_salad/tests/test_fetch.py
Expand Up @@ -52,6 +52,6 @@ def test_cache(self):
loader = schema_salad.ref_resolver.Loader({})
foo = "file://%s/foo.txt" % os.getcwd()
loader.cache.update({foo: "hello: foo"})
print loader.cache
print(loader.cache)
self.assertEqual({"hello": "foo"}, loader.resolve_ref("foo.txt")[0])
self.assertTrue(loader.check_exists(foo))

0 comments on commit a082ab5

Please sign in to comment.