def test_no_rdflib_loaded():
    runner = WitlessRunner()
    out = runner.run([sys.executable, '-c', 'import datalad.customremotes.archives, sys; print([k for k in sys.modules if k.startswith("rdflib")])'], protocol=StdOutErrCapture)
    assert_not_in('rdflib', out['stdout'])
    assert_not_in('rdflib', out['stderr'])
def test_no_rdflib_loaded():
    runner = WitlessRunner()
    out = runner.run([sys.executable, '-c', 'import datalad.customremotes.archives, sys; print([k for k in sys.modules if k.startswith("rdflib")])'], protocol=StdOutErrCapture)
    assert_not_in('rdflib', out['stdout'])
    assert_not_in('rdflib', out['stderr'])