We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ae529 commit 2b57421Copy full SHA for 2b57421
tests/image/test_image.py
@@ -163,11 +163,11 @@ def stream_(self, request):
163
164
class Describe_ImageHeaderFactory(object):
165
166
- # def it_constructs_the_right_class_for_a_given_image_stream(
167
- # self, call_fixture):
168
- # stream, expected_class = call_fixture
169
- # image_header = _ImageHeaderFactory(stream)
170
- # assert isinstance(image_header, expected_class)
+ def it_constructs_the_right_class_for_a_given_image_stream(
+ self, call_fixture):
+ stream, expected_class = call_fixture
+ image_header = _ImageHeaderFactory(stream)
+ assert isinstance(image_header, expected_class)
171
172
def it_raises_on_unrecognized_image_stream(self):
173
stream = BytesIO(b'foobar 666 not an image stream')
0 commit comments