datalad_next.tests.skip_if_root

datalad_next.tests.skip_if_root(func=None)[source]

Skip test if uid == 0.

Note that on Windows (or anywhere else os.geteuid is not available) the test is _not_ skipped.