Skip to content

Commit

Permalink
Update test for Python 3.9.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 433021769
  • Loading branch information
yilei authored and copybara-github committed Mar 7, 2022
1 parent df5d099 commit d1cd371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonnet/src/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def testEntersNameScope_concreteFunction(self):
class AbcTest(tf.test.TestCase):

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

Expand Down

0 comments on commit d1cd371

Please sign in to comment.