Skip to content

Commit

Permalink
duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Piotr Przeradowski committed Aug 18, 2013
1 parent 92767bd commit d6b1507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ script:
- if [[ $TEST && $TRAVIS_PYTHON_VERSION == '2.5' ]]; then nosetests; fi
- if [[ "$LINT" ]]; then cd pystacia && bash -c "$LINT"; fi
after_success:
- coveralls
- if [[ $TEST ]]; then coveralls; fi
notifications:
email: false

13 changes: 0 additions & 13 deletions pystacia/image/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,19 +543,6 @@ def test_fill(self):
img.fill(red)
self.assertEqual(img.get_pixel(40, 40), red)

def test_get_pixel_red(self):
img = blank(5, 5, color.from_string('red'))
self.assertEqual(img.get_pixel(0, 0), color.from_string('red'))
img.close()

img = blank(5, 5, color.from_string('blue'))
self.assertEqual(img.get_pixel(0, 1), color.from_string('blue'))
img.close()

img = blank(5, 5, color.from_string('white'))
self.assertEqual(img.get_pixel(1, 1), color.from_string('white'))
img.close()

def test_splice(self):
img = self.img

Expand Down

0 comments on commit d6b1507

Please sign in to comment.