Traceback (most recent call last):
File "./runtests.py", line 51, in <module>
runtests(*args, **options.__dict__)
File "./runtests.py", line 39, in runtests
failures = test_runner.run_tests(test_args)
File "./.tox/django111-py36/lib/python3.6/site-packages/django_nose/runner.py", line 308, in run_tests
result = self.run_suite(nose_argv)
File "./.tox/django111-py36/lib/python3.6/site-packages/django_nose/runner.py", line 245, in run_suite
addplugins=plugins_to_add)
File "./.tox/django111-py36/lib/python3.6/site-packages/nose/core.py", line 121, in __init__
**extra_args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/main.py", line 94, in __init__
self.runTests()
File "./.tox/django111-py36/lib/python3.6/site-packages/nose/core.py", line 207, in runTests
result = self.testRunner.run(self.test)
File "./.tox/django111-py36/lib/python3.6/site-packages/nose/core.py", line 68, in run
self.config.plugins.finalize(result)
File "./.tox/django111-py36/lib/python3.6/site-packages/nose/plugins/manager.py", line 99, in __call__
return self.call(*arg, **kw)
File "./.tox/django111-py36/lib/python3.6/site-packages/nose/plugins/manager.py", line 167, in simple
result = meth(*arg, **kw)
File "./.tox/django111-py36/lib/python3.6/site-packages/django_nose/plugin.py", line 89, in finalize
self.runner.teardown_test_environment()
File "./.tox/django111-py36/lib/python3.6/site-packages/django/test/runner.py", line 582, in teardown_test_environment
teardown_test_environment()
File "./.tox/django111-py36/lib/python3.6/site-packages/django/test/utils.py", line 157, in teardown_test_environment
settings.ALLOWED_HOSTS = saved_data.allowed_hosts
File "./.tox/django111-py36/lib/python3.6/site-packages/django/conf/__init__.py", line 70, in __setattr__
super(LazySettings, self).__setattr__(name, value)
TypeError: super(type, obj): obj must be an instance or subtype of type
ERROR: InvocationError: './runtests.py'
I tried
ALLOWED_HOSTS = ['*']
without success.This happens with Py 2.7, 3.5 and 3.6
Ideas? Thanks in advance