Skip to content

Commit d1cd371

Browse files
yileicopybara-github
authored andcommitted
Update test for Python 3.9.
PiperOrigin-RevId: 433021769
1 parent df5d099 commit d1cd371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonnet/src/base_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def testEntersNameScope_concreteFunction(self):
298298
class AbcTest(tf.test.TestCase):
299299

300300
def testAbstract(self):
301-
msg = "Can't instantiate .* abstract methods"
301+
msg = "Can't instantiate .* abstract method"
302302
with self.assertRaisesRegex(TypeError, msg):
303303
AbstractModule() # pylint: disable=abstract-class-instantiated
304304

0 commit comments

Comments
 (0)