]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - src/test/symmetric_linear_game_test.py
Pylint cleanup for tests.
[dunshire.git] / src / test / symmetric_linear_game_test.py
index f6f397f8354b983407e8abb61bd8997ee19ea5e3..647d0135b817ac18e4363c65b0cf549604ae2707 100644 (file)
@@ -1,4 +1,7 @@
-# These few are used only for tests.
+"""
+Unit tests for the :class:`SymmetricLinearGame` class.
+"""
+
 from math import sqrt
 from random import randint, uniform
 from unittest import TestCase
@@ -251,15 +254,6 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904
         self.assertTrue(abs(first - second) < options.ABS_TOL)
 
 
-    def assert_norm_within_tol(self, first, second):
-        """
-        Test that ``first`` and ``second`` vectors are equal in the
-        sense that the norm of their difference is within our default
-        tolerance.
-        """
-        self.assert_within_tol(norm(first - second), 0)
-
-
     def assert_solution_exists(self, L, K, e1, e2):
         """
         Given the parameters needed to construct a SymmetricLinearGame,