#30810: WatchmanReloaderTests error with AttributeError: type object
'WatchmanReloader' has no attribute 'client_timeout'
-------------------------------------+-------------------------------------
Reporter: poligarcia | Owner: nobody
Type: Uncategorized | Status: new
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: utilities, | Triage Stage:
autoreloader, watchman | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by poligarcia:
Old description:
> Running Django's test suite fails with:
>
> {{{
> ======================================================================
> ERROR: test_setting_timeout_from_environment_variable
> (utils_tests.test_autoreload.WatchmanReloaderTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py",
> line 59, in testPartExecutor
> yield
> File
> "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py",
> line 628, in run
> testMethod()
> File
> "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/mock.py",
> line 1626, in _inner
> return f(*args, **kw)
> File
> "/Users/poli/work/django/django/tests/utils_tests/test_autoreload.py",
> line 654, in test_setting_timeout_from_environment_variable
> self.assertEqual(self.RELOADER_CLS.client_timeout, 10)
> AttributeError: type object 'WatchmanReloader' has no attribute
> 'client_timeout'
> }}}
>
> My environment:
>
> * Mac OSX 10.14.16
> * Python 3.7.4
> * watchman 4.9.0
>
> The `WatchmanReloaderTests` are marked with
> `skip_unless_watchman_available`, so you'll need `watchman` to be able to
> reproduce this.
New description:
Running Django's test suite errors with:
{{{
======================================================================
ERROR: test_setting_timeout_from_environment_variable
(utils_tests.test_autoreload.WatchmanReloaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 59, in testPartExecutor
yield
File
"/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py",
line 628, in run
testMethod()
File
"/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/mock.py",
line 1626, in _inner
return f(*args, **kw)
File
"/Users/poli/work/django/django/tests/utils_tests/test_autoreload.py",
line 654, in test_setting_timeout_from_environment_variable
self.assertEqual(self.RELOADER_CLS.client_timeout, 10)
AttributeError: type object 'WatchmanReloader' has no attribute
'client_timeout'
}}}
My environment:
* Mac OSX 10.14.16
* Python 3.7.4
* watchman 4.9.0
The `WatchmanReloaderTests` are marked with
`skip_unless_watchman_available`, so you'll need `watchman` to be able to
reproduce this.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30810#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.44d6014bd6d647a763b634926afca83e%40djangoproject.com.