diff options
author | Prabhu Ramachandran | 2016-05-27 12:34:13 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2016-05-27 12:34:13 +0530 |
commit | 660a8b4f8b21a1e5836536a9db755fcf840ecd63 (patch) | |
tree | 4fcb578e2e36bcb738e904345639b12e6d4d3c18 | |
parent | 2af8dbd65fb6e9246b5617596780239c5d754714 (diff) | |
parent | e73ff2242c0b036999cc03bc690cd9d9596faf37 (diff) | |
download | online_test-660a8b4f8b21a1e5836536a9db755fcf840ecd63.tar.gz online_test-660a8b4f8b21a1e5836536a9db755fcf840ecd63.tar.bz2 online_test-660a8b4f8b21a1e5836536a9db755fcf840ecd63.zip |
Merge pull request #103 from ankitjavalkar/new-django-travis
Update django version in .travis.yml
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | yaksh/language_registry.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 38db811..6a4c8cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,8 @@ python: - "2.7" env: - - DJANGO=1.5.7 - DJANGO=1.6.4 + - DJANGO=1.9 # command to install dependencies install: @@ -19,5 +19,4 @@ before_install: # command to run tests script: - - test $DJANGO=1.5.7 && nosetests ./yaksh/evaluator_tests/ - python manage.py test yaksh
\ No newline at end of file diff --git a/yaksh/language_registry.py b/yaksh/language_registry.py index 24aef7d..398e1aa 100644 --- a/yaksh/language_registry.py +++ b/yaksh/language_registry.py @@ -36,7 +36,6 @@ class _LanguageRegistry(object): test_case_register = self._register[language] cls = test_case_register.get(test_case_type) module_name, class_name = cls.rsplit(".", 1) - import yaksh.python_assertion_evaluator # load the module, will raise ImportError if module cannot be loaded get_module = importlib.import_module(module_name) # get the class, will raise AttributeError if class cannot be found |