diff options
author | Alex Gr?nholm <alex.gronholm@nextday.fi> | 2011-05-24 04:53:44 +0300 |
---|---|---|
committer | Alex Gr?nholm <alex.gronholm@nextday.fi> | 2011-05-24 04:53:44 +0300 |
commit | d44685df93d4ced203d0fb8e601e19502af7685e (patch) | |
tree | 48221b28fb20eebe55958edd18532fc3efa07638 /tests/test_config.py | |
parent | ba0c1c0d32f8e1357e8cfd34e47c3f9945643316 (diff) | |
download | pastedeploy-d44685df93d4ced203d0fb8e601e19502af7685e.tar.gz |
Shortened the enhanced error message from _interpolate to only include the file name as all other information is already there
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 6dee066..de40a2a 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -168,6 +168,6 @@ def test_interpolate_exception(): except Exception: e = sys.exc_info()[1] expected = "Error in file %s" % os.path.join(config_path, 'test_error.ini') - eq_(str(e).split(',')[0], expected) + eq_(str(e).split(':')[0], expected) else: assert False, 'Should have raised an exception' |