#30810: WatchmanReloaderTests fail with AttributeError: type object
'WatchmanReloader' has no attribute 'client_timeout'
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
poligarcia |
Type: | Status: new
Uncategorized |
Component: Utilities | Version: master
Severity: Normal | 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 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/30810>
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/053.8eb14feac5e625b6ca98ca6f76b5edd9%40djangoproject.com.