Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Removed unnecessary imports.
Made so testing external library is only done on python versions it
supports
  • Loading branch information
theovoss committed Jul 25, 2014
1 parent 7c35323 commit 25bb7c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions bogglesolver/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

"""Tests for the bogglesolver package."""

import unittest
from unittest.mock import patch, Mock, MagicMock

import os


ENV = 'TEST_INTEGRATION' # environment variable to enable integration tests
REASON = "'{0}' variable not set".format(ENV)
1 change: 1 addition & 0 deletions bogglesolver/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def test_loads_all_words(self):


@unittest.skipUnless(os.getenv(ENV), REASON)
@unittest.skipIf(sys.version_info.major != "2", "External library I'm timing against only works in python 2.x.")
class test_speed_against_other_libraries(unittest.TestCase):

"""Test my boggle library against other boggle libraries."""
Expand Down

0 comments on commit 25bb7c4

Please sign in to comment.