Skip to content

Commit

Permalink
Add test to ensure that build errors are contained in the output
Browse files Browse the repository at this point in the history
Also add proper attribution for the actual feature implementation
  • Loading branch information
matthias-bach-by committed May 23, 2016
1 parent 9f8e69a commit 8a24b99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -4,6 +4,13 @@ Changelog

This lists the most important changes for each release.


v2.2.0 (May 05 2016)
====================

- Capture build errors for better output in case of build failures. Thanks Travis Mehlinger.


v2.1.0 (Apr 22 2016)
====================

Expand Down
2 changes: 1 addition & 1 deletion tests/test_wheeler.py
Expand Up @@ -25,7 +25,7 @@ def test_provides_file_that_is_already_a_wheel(self):

def test_throws_custom_on_build_failure(self):
with wheeler.Builder() as builder:
with self.assertRaises(wheeler.BuildError):
with self.assertRaisesRegexp(wheeler.BuildError, r'Could not find a version that satisfies the requirement package-that-hopefully-does-not-exist==99.999 \(from versions: \)'):
builder('package_that_hopefully_does_not_exist', '99.999')

def test_look_for_non_existing_wheel(self):
Expand Down

0 comments on commit 8a24b99

Please sign in to comment.