From 0017a12024c359b136059f89998ec1d0c254dd61 Mon Sep 17 00:00:00 2001 From: Jacob Burnim Date: Tue, 14 Sep 2021 09:32:26 -0700 Subject: [PATCH] Fix bijector_test under Python 3.9. --- tensorflow_probability/python/bijectors/bijector_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_probability/python/bijectors/bijector_test.py b/tensorflow_probability/python/bijectors/bijector_test.py index cb9d1e1adb..830b15f3c1 100644 --- a/tensorflow_probability/python/bijectors/bijector_test.py +++ b/tensorflow_probability/python/bijectors/bijector_test.py @@ -45,7 +45,7 @@ class BaseBijectorTest(test_util.TestCase): def testIsAbstract(self): with self.assertRaisesRegexp(TypeError, ('Can\'t instantiate abstract class Bijector ' - 'with abstract methods __init__')): + 'with abstract methods? __init__')): tfb.Bijector() # pylint: disable=abstract-class-instantiated def testDefaults(self):