diff options
author | Alex Gr?nholm <alex.gronholm@nextday.fi> | 2011-05-22 05:03:21 +0300 |
---|---|---|
committer | Alex Gr?nholm <alex.gronholm@nextday.fi> | 2011-05-22 05:03:21 +0300 |
commit | 1df1c78299e06fecde664d4ddb5ec549097daf88 (patch) | |
tree | 39202cc5b606804ae6c5d012cb7b97acfa55eb0c /tests/test_load_package.py | |
parent | af0125821babc057b451f659b816216569ce8f26 (diff) | |
download | pastedeploy-1df1c78299e06fecde664d4ddb5ec549097daf88.tar.gz |
Refactored the code to be compatible with Python 3.1 and above
Diffstat (limited to 'tests/test_load_package.py')
-rw-r--r-- | tests/test_load_package.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/test_load_package.py b/tests/test_load_package.py index a66b7d0..b3fea55 100644 --- a/tests/test_load_package.py +++ b/tests/test_load_package.py @@ -1,10 +1,12 @@ -import sys, os -import pkg_resources -import site from pprint import pprint +import sys + +import pkg_resources + +from paste.deploy.compat import print_ + def test_load_package(): - print 'Path:' + print_('Path:') pprint(sys.path) - print pkg_resources.require('FakeApp') - + print_(pkg_resources.require('FakeApp')) |