locust 2.19.1.dev23__py3-none-any.whl → 2.19.2.dev5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of locust might be problematic. Click here for more details.

locust/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.19.1.dev23'
16
- __version_tuple__ = version_tuple = (2, 19, 1, 'dev23')
15
+ __version__ = version = '2.19.2.dev5'
16
+ __version_tuple__ = version_tuple = (2, 19, 2, 'dev5')
@@ -338,8 +338,6 @@ class FastHttpUser(User):
338
338
  raise LocustError(
339
339
  "You must specify the base host. Either in the host attribute in the User class, or on the command line using the --host option."
340
340
  )
341
- if not re.match(r"^https?://[^/]+", self.host, re.I):
342
- raise LocustError(f"Invalid host (`{self.host}`), must be a valid base URL. E.g. http://example.com")
343
341
 
344
342
  self.client: FastHttpSession = FastHttpSession(
345
343
  self.environment,
locust/log.py CHANGED
@@ -84,8 +84,7 @@ def greenlet_exception_logger(logger, level=logging.CRITICAL):
84
84
  if greenlet.exc_info[0] == SystemExit:
85
85
  logger.log(
86
86
  min(logging.INFO, level), # dont use higher than INFO for this, because it sounds way to urgent
87
- "sys.exit(%s) called (exception callstack suppressed, use log level DEBUG for more info)"
88
- % greenlet.exc_info[1],
87
+ "sys.exit(%s) called (use log level DEBUG for callstack)" % greenlet.exc_info[1],
89
88
  )
90
89
  logger.log(logging.DEBUG, "Unhandled exception in greenlet: %s", greenlet, exc_info=greenlet.exc_info)
91
90
  else: