Skip to content

Commit 27c9d9f

Browse files
use () to print messages
1 parent cc34ef0 commit 27c9d9f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/test_examples.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
dotenv_path = join(dirname(__file__), '../', '.env')
2222
load_dotenv(dotenv_path)
2323
except:
24-
print 'WARNING: dotenv could not be imported'
25-
pass
24+
print('warning: dotenv module could not be imported')
2625

2726
@pytest.mark.skipif(os.getenv('VCAP_SERVICES') is None, reason='requires VCAP_SERVICES')
2827
def test_examples():

0 commit comments

Comments
 (0)