Skip to content

Commit

Permalink
Typo fix in test_subword_enrichment:
Browse files Browse the repository at this point in the history
- s/X_test/expected/
  • Loading branch information
insop committed Dec 31, 2019
1 parent fa0688e commit 22b557c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw_wordsim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1437,9 +1437,9 @@
" [16, 6, 16, 34],\n",
" [36, 10, 12, 66]], index=vocab)\n",
" new_df = func(df, n=2)\n",
" assert np.array_equal(X_test.columns, new_df.columns), \\\n",
" assert np.array_equal(expected.columns, new_df.columns), \\\n",
" \"Columns are not the same\"\n",
" assert np.array_equal(X_test.index, new_df.index), \\\n",
" assert np.array_equal(expected.index, new_df.index), \\\n",
" \"Indices are not the same\"\n",
" assert np.array_equal(expected.values, new_df.values), \\\n",
" \"Co-occurrence values aren't the same\" "
Expand Down

0 comments on commit 22b557c

Please sign in to comment.