MCPcopy
hub / github.com/mne-tools/mne-python / looks_stable

Function looks_stable

mne/utils/tests/test_check.py:347–353  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

345 assert have, (simpler_version, version)
346
347 def looks_stable(version):
348 try:
349 [int(x) for x in version.split(".")]
350 except ValueError:
351 return False
352 else:
353 return True
354
355 if looks_stable(version):
356 assert "dev" not in version

Callers 1

test_strip_devFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected