diff --git a/tests/utils_tests/test_autoreload.py b/tests/utils_tests/test_autoreload.py index 2216d003ee..fe89f897c7 100644 --- a/tests/utils_tests/test_autoreload.py +++ b/tests/utils_tests/test_autoreload.py @@ -651,7 +651,7 @@ class WatchmanReloaderTests(ReloaderTests, IntegrationTests): @mock.patch.dict(os.environ, {'DJANGO_WATCHMAN_TIMEOUT': '10'}) def test_setting_timeout_from_environment_variable(self): - self.assertEqual(self.RELOADER_CLS.client_timeout, 10) + self.assertEqual(self.RELOADER_CLS().client_timeout, 10) @skipIf(on_macos_with_hfs(), "These tests do not work with HFS+ as a filesystem")