From b2809b8bce3f8aa051cc7f25d590b873354bf525 Mon Sep 17 00:00:00 2001
From: Daniel <daniel@harvey>
Date: Wed, 15 Apr 2020 17:55:59 +0200
Subject: [PATCH] FIX: Removed numpy dependency.

---
 tests/test_issues_mysqlbackend.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_issues_mysqlbackend.py b/tests/test_issues_mysqlbackend.py
index 03e5fa3..98665a0 100644
--- a/tests/test_issues_mysqlbackend.py
+++ b/tests/test_issues_mysqlbackend.py
@@ -26,7 +26,6 @@
 import caosdb as db
 from nose import with_setup
 from nose.tools import assert_equal
-import numpy as np
 import pytest
 
 
@@ -71,4 +70,4 @@ def test_issue_18():
 
     C1 = db.Entity(name="C").retrieve()
     pids = [p.id for p in C1.parents]
-    assert_equal(np.unique(pids), len(pids), "Duplicate parents.")
+    assert_equal(len(set(pids)), len(pids), "Duplicate parents.")
-- 
GitLab