Skip to content

Commit

Permalink
Don't waste memory in walker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tfarago committed Aug 13, 2014
1 parent 47030a8 commit 3d86e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concert/tests/unit/test_walker.py
Expand Up @@ -33,7 +33,7 @@ def setUp(self):
super(TestDirectoryWalker, self).setUp()
self.path = tempfile.mkdtemp()
self.walker = DirectoryWalker(root=self.path)
self.data = np.ones((512, 512))
self.data = np.ones((2, 2))

def tearDown(self):
shutil.rmtree(self.path)
Expand Down

3 comments on commit 3d86e6d

@tfarago
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that we don't have enough, but still.

@matze
Copy link
Contributor

@matze matze commented on 3d86e6d Aug 13, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was probably the most pointless commit in history of mankind 😆

@tfarago
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What? I did something for the environment. Less pixels -> less memory allocated -> less power consumed 😄

Please sign in to comment.