We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02747fe commit 2a3bbfbCopy full SHA for 2a3bbfb
tests/test_dedupe.py
@@ -36,15 +36,15 @@ def test_data_model(self):
36
37
self.assertRaises(TypeError, DataModel)
38
39
- # data_model = DataModel(
40
- # [
41
- # dedupe.variables.String(field="a", name="a"),
42
- # dedupe.variables.String(field="b", name="b"),
43
- # dedupe.variables.Interaction("a", "b")
44
- # ]
45
- # )
46
-
47
- # assert data_model._interaction_indices == [[0, 1]]
+ data_model = DataModel(
+ [
+ dedupe.variables.String(field="a", name="a"),
+ dedupe.variables.String(field="b", name="b"),
+ dedupe.variables.Interaction("a", "b"),
+ ]
+ )
+
+ assert data_model._interaction_indices == [[0, 1]]
48
49
data_model = DataModel(
50
[
0 commit comments